Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
15462 Discussions

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

JHill1
Novice
433 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
306 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/soluti...

 

JHill1
Novice
306 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.

Reply