cannot create jvm
I downloaded the express-c for win, and run the script "server.start.bat", but the RTC server cannot be loaded, the dos window flashed and disappeared.
I change the content of the script "server\tomcat\bin\startup.bat, so that the dos prompt windows keeps on the screen. "call "%EXECUTABLE%" start %CMD_LINE_ARGS%" to call "%EXECUTABLE%" run %CMD_LINE_ARGS% Then, on a dos prompt, I run "server.start.bat", the following shows: " JVMJ9VM015W Initialization error for library j9gc23(2): Failed to instantiate heap; 1500M requested. Cannot create java virtual machine. " My laptop's OS is Windows xp sp2, and has 4G RAM. Before I run "server.start.bat", the system show the free physical RAM 1866000k. Help, pls. |
2 answers
On 2/10/2010 11:23 AM, gaoguoliangtt wrote:
I downloaded the express-c for win, and run the script It seems to be a memory problem. The JVM asks for 1.5Gb for the Heap plus its own necessary memory which doesn't fit in your 1.8Gb. Not as final solution, but just as a test, can you edit this file ....\server\server.startup.bat and modify at line 70, -Xmx1500m by -Xmx1024m for example? Hope it helps, Chemi. |
On 2/10/2010 11:23 AM, gaoguoliangtt wrote: I downloaded the express-c for win, and run the script It seems to be a memory problem. The JVM asks for 1.5Gb for the Heap plus its own necessary memory which doesn't fit in your 1.8Gb. Not as final solution, but just as a test, can you edit this file ....\server\server.startup.bat and modify at line 70, -Xmx1500m by -Xmx1024m for example? Hope it helps, Chemi. Yes, got it! At least, I can try it now. tks. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.