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
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

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?
 
I was born with webbed fish toes. This tiny ad is my only friend:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
    Bookmark Topic Watch Topic
  • New Topic