Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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.

0 votes



2 answers

Permanent link
On 2/10/2010 11:23 AM, gaoguoliangtt wrote:
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.


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.

0 votes


Permanent link
On 2/10/2010 11:23 AM, gaoguoliangtt wrote:
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.


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.

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Feb 10 '10, 5:13 a.m.

Question was seen: 8,288 times

Last updated: Feb 10 '10, 5:13 a.m.

Confirmation Cancel Confirm