Knowledge Base Article
Error: Error writing sopcinfo report java.lang.OutOfMemoryError: Java heap space
Description
You may see the following or similar error when generating a large design from Qsys.
Error: Error writing sopcinfo report java.lang.OutOfMemoryError: Java heap space
Resolution
To work around the problem, launch Qsys from a command prompt using the qsys-edit command with the --jvm-max-heap-size=<size><unit> command line argument, where <size> is an integer value and <unit> is m (or M) for megabytes or g (or G) for gigabytes. This will run Qsys with an increased Java heap size. The qsys-edit command should be run from the current Quartus project directory.For example, to run qsys with increased heap from the Windows command prompt:
- cd <quartus_project_directory>
- %QUARTUS_ROOTDIR%\sopc_builder\bin\qsys-edit --jvm-max-heap-size=<size><unit>
For example, to run qsys with increased heap from the Linux command prompt:
- cd <quartus_project_directory>
- /sopc_builder/bin/qsys-edit --jvm-max-heap-size=<size><unit>
The Qsys default java heap size is 512M. Specifying a larger value will avoid running out of heap memory.
For more information regarding qsys-edit command line arguments, please see the Running the Qsys Editor with qsys-edit (PDF) document.
This problem is addressed and resolved in the 14.0 release of the Quartus II software.
Related Articles
Updated 2 months ago
Version 2.0No CommentsBe the first to comment