Watch, Follow, &
Connect with Us

Please visit our new home

Public Report
Report From: JBuilder/Startup    [ Add a report in this area ]  
Report #:  29192   Status: Reported
Invalid heap size at startup
Project:  JBuilder Build #:
Version:    11 Submitted By:   Syed Ali
Report Type:  Minor failure / Design problem Date Reported:  5/17/2006 8:53:00 AM
Severity:    Critical / Show Stopper Last Updated: 5/17/2006 9:11:25 AM
Platform:    Internal Tracking #:  
Resolution: None  Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: 2

I am working on a 62-bit Linux machine.
On startup Jbuilder fails reporting:
"Invalid maximum heap size: -Xmx-825m
Unable to create JVM."
On closer inspection this problem seamed to be related to the config file: "<>/bin/jbuilder.config" and the parameter: "vmmemmax 75%".

It seems that it tries to read the heap size as 75% of something (not RAM as this is 3GB on my machine and 75% should be more than 825MB), but adds a "-" (minus) sign before reporting the size.
Steps to Reproduce:
Simply download and install JBuilder 2005 foundation on a 64-bit Linux machine and try to run the program.

Simply change the parameter to a fixed max. heap size, as appropriate for your machine. I used the reported size of 825M in the bug - and it started up fine.

I.E. in the file: "<>/bin/jbuilder.config", change the parameter+value: "vmmemmax 75%" to "vmmemmax ???M", where ???=a compatible max heap size for your machine (can use the reported size in the bug - just remove the "-" (minus) sign)


Server Response from: ETNACODE01