|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
每次生成IP核都提示如下错误:
error occurred during initialization of VM.
could not reserve enough space for object heap
could not creat the java virtual machine
请问各位有没遇到过类似情况啊?
xilinx官网对此的解释如下。我照着把CORE generator里的JAVA memory 改了仍然不行,改大或者改小都不行。
求解答,感激不尽!!!!
:疑问描述
When I attempt to launch the CORE Generator software 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:576/424 (# depends on SW version) - 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."
解决方案
This error occurs if Java cannot allocate the required memory requested on the machine in use.
Set the Java Memory allocation to a smaller size. The error is saying the system could not reserve the requested amount of memory for heap. The amount of memory available varies between different systems. In most cases, this error occurs with the default memory settings.
The default system memory used by the CORE Generator 10.1 and later is 512 MBytes on the PC and 1024 MBytes on Unix.
For Windows, set a value smaller than 512 MB.
For Unix, set a value smaller than 1024 MB.
To change the amount of memory allocated, change the "Memory available for Java" value in the CORE Generator tool, under File -> Preferences... -> Java.
NOTE: If using ISE Design Suite 12.1, the Java heap size needs to be set from command line or with the JAVA_TOOL_OPTIONS environment variable; see (Xilinx Answer 35389).
Memory allocation can be changed when launching the CORE Generator tool from the command line; using the "coregen -J" option as shown in the following example:
coregen -J Xmx256m
Memory allocation can also be changed by using the JAVA_TOOL_OPTIONS environment variable as in the following example.
Example: set JAVA_TOOL_OPTIONS=Xmx720m
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 used during your session. Other applications cannot utilize this memory until after the CORE Generator software 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 fails 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. |
|