Bookmark Topic Watch Topic
  • New Topic

jvm.cfg, mem heap size  RSS feed

 
SreedharBheemanapalli
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Report post to moderator
I need to raise the amount of memory my jvm buffers for its use. I'm looking for the syntax for adding
"-Xms128m -Xmx128m", but everything I try gives me:

Warning: missing VM type on line 25 of
`/usr/java/j2sdk1.4.1/jre/lib/i386/jvm.cfg'
Warning: missing VM type on line 26 of
`/usr/java/j2sdk1.4.1/jre/lib/i386/jvm.cfg'
Warning: missing VM type on line 25 of
`/usr/java/j2sdk1.4.1/jre/lib/i386/jvm.cfg'
Warning: missing VM type on line 26 of
`/usr/java/j2sdk1.4.1/jre/lib/i386/jvm.cfg'

My jvm.cfg is pasted below.
# commented lines
-client KNOWN
-server KNOWN
-hotspot ALIASED_TO -client
-classic WARN
-native ERROR
-green ERROR
-Xms128m
-Xmx128m

Lines 25 and 26 are the two "-Xm" lines at the bottom. Can somebody
enlighten me?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Report post to moderator
This question seems to have been cut and paste from here. Could you not just use the answer posted there too?
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!