Main

12.1 CORE Generator - Setting JAVA memory size from CORE Generator interface does not work

AR# 35389

Search For Another Answer

Topic CORE Generator
Last Updated 08/18/2010
Status Active
Description

I open the CORE Generator preferences by selecting select File -> Preferences, then I select Java and change the "Memory Available for Java" to one of the five standard values or any custom value.  However, the amount of memory allocated for Java processes remains the same.

This could lead to:

  • running out of Memory during core generation if the default setting is too small for a particular IP core, or 
  • an "Unable to create Java Virtual Machine" error if the user's system cannot allocate the default amount of memory.

Solution

The Java memory allocation setting in the CORE Generator preferences is not working correctly in ISE Design Suite 12.1.

To work around this issue, the CORE Generator tool should be invoked using the "coregen -J Xmx" option from the command line: 

    coregen -J Xmx####m  

where "####" represents the number of Megabytes of memory to allocate.

Examples 

coregen -J Xmx384m  
coregen -J Xmx256m  
coregen -J Xmx1234m  
coregen -J Xmx2056m 

 
The JAVA_TOOL_OPTIONS environment variable could also be used to set the JAVA memory heap size.

Example: set JAVA_TOOL_OPTIONS=-Xmx720m 
 
 
/csi/footer.htm