AR #20708 - 11.1 CORE Generator - Receiving error messages "Could not reserve enough space for object heap" and "Could not create the Java virtual machine"

Search Answers Database


 

11.1 CORE Generator - Receiving error messages "Could not reserve enough space for object heap" and "Could not create the Java virtual machine"

AR# 20708
Part SW-Coregen
Last Modified 2009-10-30 00:00:00.0
Status Active
Keywords JVM, initialization, physical, memory

Description

Keywords: JVM, initialization, physical, memory

When I attempt to launch CORE Generator from the command line or open a JAVA-based IP core, the following errors occur:

"Error occurred during initialization of VM
Could not reserve enough space for object heap

Could not create the Java virtual machine
ERROR:coreutil:424 - An error occurred while running Java. Please examine the console or coregen log file for a specific IP related error.
For more information please search the Xilinx Answers Database for this error: http://www.xilinx.com/support
WARNING:coreutil:266 - Could not remove outfile.
An Error occurred during Customization."

Solution

This error occurs if Java cannot allocate the required memory requested on the machine in use.

The default system memory used by CORE Generator 11.1 is 512 MBytes on the PC and 1024 MBytes on Unix.

To change the amount of memory allocated, change the "Memory available for Java" value in Core Generator under File -> Preferences... -> Java. Alternatively, the memory allocation can be changed when launching CORE Generator from the command line; to do this, use the "coregen -J" option as shown in the following example:

coregen -J Xmx256m

The total amount of physical memory plus the virtual memory must be greater than or equal to the command line memory setting for CORE Generator. Setting the "-J Xmx" option to a larger value also ties up this amount of memory for CORE Generator use during your CORE Generator session. Other applications cannot utilize this memory until after the CORE Generator application is terminated.

The maximum heap size is machine-dependent. Many Windows NT systems cannot allocate much more than about 512 MBytes. If CORE Generator requires more memory than is available on the system, it will fail to open.

If multiple versions of the Xilinx ISE design tools are installed on the same machine, make sure that the PATH variable lists the location of the %Xilinx%\bin\nt directory before any ISE installed version. Where %Xilinx% represents the current install path pointed to by the Xilinx variable.
 
 
/csi/footer.htm