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
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.