Article ID: 000075929 Content Type: Troubleshooting Last Reviewed: 09/11/2012

Why do I get the error message "Exception in thread "main" java.lang.OutOfMemoryError: Java heap space" when attempting to program a large binary files using the Nios II Flash Programmer?

Environment

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Description

You will see this error message, from the Nios® II Flash Programmer, when attempting to program large binary files. The solution is to copy the included files sh_jar.sh_win32 (for windows) or sh_jar.sh_linux file (for Linux) to \bin. Once copied you will have to rename the file to sh_jar.sh before using it.

This solution applies to version 7.2 (initial release, as well as service packs 1 and 2).

This problem will be fixed in a future release of the software.

Related Products

This article applies to 1 products

Intel® Programmable Devices