• 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

Jboss starting heap issue

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello All,
I am having a problem staring up my Jboss Server it is giving me this error

Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

I am using a dell laptop 2gb ram, Core 2 duo. the heap entry given is

128m and 512m . I tired to change it also to 1024 and 1024 but still the same issue. Is this problem related to java installation in my machine.Kindly help
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you have 512MB or free memory on your laptop?

How are you starting JBoss AS? From a command line using the run script? If so, then a banner showing the JAVA_OPTS settings is printed, please post that.
 
nancy andrew
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,

Thanks for the reply.
Actually there is a product called lombardi which uses process server as JBOSS. So when i click the start up exe for starting Jboss i get the above mentioned Error.
JAVA_OPTS is not printed.
I have a hard disk of 320 gb and currently only 75gb is free space available
Installed Physical Memory (RAM) 2.00 GB
Total Physical Memory 1.96 GB
Available Physical Memory 767 MB
Total Virtual Memory 3.92 GB
Available Virtual Memory 1.40 GB
Page File Space 1.96 GB

 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Then try this. Open a command prompt and enter the following:

set _JAVA_LOADER_DEBUG=1

Now from this same command prompt, run the exe that you mentioned. That means you will have to type the entire path to the exe into the command line, or optionally you can drag-and-drop the exe from Explorer into the command prompt window. Hopefully the option you set will cause some debug output to be placed in the command prompt window. Post that output inot this thread by copying and pasting the text from the command prompt window.

If this doesn't work, you will have to find out exactly how that exe starts up JBoss AS. Does it call a specific batch file? Does it load the JVM directly? You might have to ask these questions to the company you got Lombardi from.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic