Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16597 Discussions

How to set Java heap size for build scripts using "set_global_assignment -name QSYS_FILE"

JHill1
Novice
1,015 Views

If the project specifies a QSYS file using "set_global_assignment -name QSYS_FILE" then the quartus build will automatically synthesize the .qsys file. With this mechanism quartus is implicitly calling qsys-generate/ip-generate and I cant explicitly specify the "--jvm-max-heap-size" argument, and therefore the build fails. I did find the project assignment option that sets the MAX_QSYS_JVM_MEMORY variable in the quartuis2.ini file in the login directory. However, this apparently doesn't work for quartus 13.1, and furthermore we prefer for our build scripts to work independently of the login context of a particular user.

 

Is there any mechanism for specifying the java heap size using the qsf file using a TCL set_global_assignment?

0 Kudos
2 Replies
RichardTanSY_Intel
888 Views

Is the build fail due to OutOfMemoryError? I currently do not know how to set java heap size through the qsf file.

Perhaps this KDB could be an alternate solution for your case.

https://www.intel.com/content/www/us/en/programmable/support/support-resources/knowledge-base/solutions/rd11152012_160.html

 

0 Kudos
JHill1
Novice
888 Views

To answer my own question...

 

export _JAVA_OPTIONS="-Xmx1g"

 

This works within bash or also within the GNU make file environment. On windows the set command can be used in a DOS environment.

0 Kudos
Reply