32-bit Java application will not start on 32-bit OS due to insufficient virtual address space

Solution Verified - Updated -


  • JBoss will not start.
  • OutOfMemoryError in server.log:

        Caused by: java.lang.OutOfMemoryError
                at java.util.zip.ZipFile.open(Native Method)
                at java.util.zip.ZipFile.<init>(ZipFile.java:131)
                at java.util.jar.JarFile.<init>(JarFile.java:150)
                at java.util.jar.JarFile.<init>(JarFile.java:114)
                at org.jboss.virtual.plugins.context.zip.ZipFileWrapper.ensureZipFile(ZipFileWrapper.java:173)
                at org.jboss.virtual.plugins.context.zip.ZipFileWrapper.openStream(ZipFileWrapper.java:211)
                at org.jboss.virtual.plugins.context.zip.ZipEntryContext.openStream(ZipEntryContext.java:1084)
                at org.jboss.virtual.plugins.context.zip.ZipEntryHandler.openStream(ZipEntryHandler.java:154)
                at org.jboss.virtual.VirtualFile.openStream(VirtualFile.java:241)
                at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:666)
                at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:630)
                at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:507)
                at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:182
  • The JVM outputs the following error to standard out:

        Error occurred during initialization of VM
        Could not reserve enough space for object heap
        Could not create the Java virtual machine.
  • OutOfMemoryError in JBoss Enterprise Application Platform (EAP) 5 in server.log:

        Caused by: java.lang.OutOfMemoryError
                at java.util.zip.Inflater.init(Native Method)
                at java.util.zip.Inflater.<init>(Inflater.java:83)
                at java.util.zip.ZipFile.getInflater(ZipFile.java:266)
                at java.util.zip.ZipFile.getInputStream(ZipFile.java:212)
  • Getting Java Heap Space issue while trying to install Fuse Service Works on to Windows PC. But I get a out of heap space error as above. I have installed JDK 1.7 32 bit.


  • Java
  • 32-bit
  • Red Hat JBoss Fuse Service Works (FSW)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content