Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2005

Tip: Looking for answers? Try searching our database.

-Xmx/-Xms Invalid initial heap size (newbie here)

Thread view: 
none - 02 Jul 2005 17:33 GMT
I've tried every permutation of memory size with -Xms/-Xms on Windows
XP running 1.5.0_04-b05.  I always get the "Invalid initial heap size"
error.  Does anyone know what I'm missing?

Thanks.
Raymond DeCampo - 02 Jul 2005 21:04 GMT
> I've tried every permutation of memory size with -Xms/-Xms on Windows
> XP running 1.5.0_04-b05.  I always get the "Invalid initial heap size"
> error.  Does anyone know what I'm missing?
>
> Thanks.

Probably an M and a sense of decency.

Ray

Signature

XML is the programmer's duct tape.

none - 03 Jul 2005 01:14 GMT
Nope, I've tried the m and it's specified as lower case in the docs.
I would like to use -Xms=512m -Xms1000m.

>> I've tried every permutation of memory size with -Xms/-Xms on Windows
>> XP running 1.5.0_04-b05.  I always get the "Invalid initial heap size"
[quoted text clipped - 5 lines]
>
>Ray
dev null - 06 Jul 2005 20:49 GMT
Try
java -Xms512m -Xmx1000m (class or other options)

Note the lack of an equals sign, and the Xmx for max (you list -Xms
twice...)

>Nope, I've tried the m and it's specified as lower case in the docs.
>I would like to use -Xms=512m -Xms1000m.
[quoted text clipped - 8 lines]
>>
>>Ray


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.