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

jvm.cfg, mem heap size

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic