• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Xmx > 1024 := Could not create the Java virtual machine

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

Since yesterday I have problems with eclipse start.
Normaly I start eclipse with a batch file with follow command:

start /D%PRJ_HOME%\tools %ECL_HOME%\eclipse -vm %JAVA_HOME%\jre\bin\javaw -data %WSP_HOME% -vmargs -Xms 512m -Xmx 1536m -XX:MaxPermSize=128M

Since yesterday I cannot start eclipse with the parameter Xmx 1536m. It works only when I use Xmx 1024m.

Yesterday they installed a few Microsoft Security Patches. I deinstalled all, but it still dosn't work. Have somebody an idea?


I use jdk1.5.0_16.

Thanks for help
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've had the same problem using non-1024m multiples.
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

David Newton wrote:I've had the same problem using non-1024m multiples.



I'm not sure if this will help, but I found this on java.sun.com. It says that the memory arg has to be a multiple of 1kb i.e. 1024 greater than 2MB.

http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/java.html

 
Marshal
Posts: 79239
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No change in the more recent version of the java tool documentation. Don't know whether there is any difference for Eclipse, rather than the command-line tool.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic