aspose file tools*
The moose likes JBoss/WildFly and the fly likes Jboss starting heap issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Jboss starting heap issue" Watch "Jboss starting heap issue" New topic
Author

Jboss starting heap issue

nancy andrew
Ranch Hand

Joined: Jan 19, 2010
Posts: 30
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
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

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.


JBoss In Action
nancy andrew
Ranch Hand

Joined: Jan 19, 2010
Posts: 30
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
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jboss starting heap issue