• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Urgent:j2se-1.3.1- Unable to allocate heap more than 2GB on Solaris 2.6

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Im trying to execute a simple Hello World program using the following parameters :
/opt/j2se-1.3.1/bin/java -ms500m -mx2500m testing
The environment is Solaris 2.6 ( SunOs 5.6) . Also increased the size of the data segment limit to more than 3 Gig.
Any suggestions would be greatly appreciated.
The error message is as :
$ /opt/j2se-1.3.1/bin/java -ms500m -mx2500m testing
Error occurred during initialization of VM
Could not reserve enough space for object heap
Regds,
Sesh
 
High Plains Drifter
Posts: 7289
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is a known issue with the JDK. Here's a link to the report. Notice this is not considered a bug.
------------------
Michael Ernest, co-author of: The Complete Java 2 Certification Study Guide
 
I'm full of tinier men! And a tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic