# Insufficient space in Javaheap

**URL:** <https://techcommunity.softwareag.com/t/insufficient-space-in-javaheap/59450>\
**Category:** Forum\
**Tags:** Former-Crossvision-Products, Service-Orchestrator\
**Created:** [September 29, 2005, 7:24pm UTC](https://techcommunity.softwareag.com/t/insufficient-space-in-javaheap/59450 "2005-09-29T19:24:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arun](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@Arun](https://techcommunity.softwareag.com/u/Arun)\
**Post date:** [September 29, 2005, 7:24pm UTC](https://techcommunity.softwareag.com/t/insufficient-space-in-javaheap/59450/1 "2005-09-29T19:24:22Z")

</div>

System Details:  
Mediator : 7.4.1  
OS : AIX 5.3 - 64 bit - RAM 2GB  
Tomcat - 4.1.30  
Sun JDK 1.4.2

When we start the Host manager using startHostManager.sh script, we get a Java heap error as show in the xbdhost.log. In one of the discussion it’s been mentioned to set two variables

```
  IBM_HEAPDUMP_OUTOFMEMORY=false
  DISABLE_JAVADUMP=true

```

which is by default set in mediator version 7.4.1. And also its been mentioned that the dump has no implications on the functionality but when we make a request to the mediator for a sequence, the request gets timed out and Tomcat through OutOfMemory as shown in Catalina.out.

The start up script hasn’t been modified, it’s same been deployed.

-------------- xbdhost.log --------------------  
2005-09-29 01:15:02 PM CDTINFO: EntireX XML Mediator Version 7.4.1.1  
2005-09-29 01:15:02 PM CDTINFO: Copyright (C) 2000-2004 Software AG. All rights reserved.  
2005-09-29 01:15:02 PM CDTINFO: calling register for expsag01  
2005-09-29 01:15:02 PM CDTINFO: Creating rmi registry at port 20050  
2005-09-29 01:15:02 PM CDTINFO: rmi registry started successfully at port: 20050  
2005-09-29 01:15:02 PM CDTINFO: Registering expsag01 at port 20050  
2005-09-29 01:15:02 PM CDTINFO: expsag01 registered at port:20050:expsag01  
2005-09-29 01:15:02 PM CDTINFO: Done registering for expsag01  
2005-09-29 01:15:03 PM CDTINFO: HostManager received startFactory Request for \<\>  
2005-09-29 01:15:03 PM CDTINFO: HostManager \<\> is Starting…  
2005-09-29 01:15:11 PM CDTERROR: JVMST109: Insufficient space in Javaheap to satisfy allocation request  
JVMST109: Insufficient space in Javaheap to satisfy allocation request  
JVMST109: Insufficient space in Javaheap to satisfy allocation request  
JVMST109: Insufficient space in Javaheap to satisfy allocation request  
JVMST109: Insufficient space in Javaheap to satisfy allocation request  
JVMST109: Insufficient space in Javaheap to satisfy allocation request  
JVMST109: Insufficient space in Javaheap to satisfy allocation request  
2005-09-29 01:15:15 PM CDTINFO: HostManager \<\> is started.  
2005-09-29 01:15:15 PM CDTINFO: HostManager startFactory for \<\> is successful, Factory is started

---- Catalina.out --------------------  
JVMDG217: Dump Handler is Processing OutOfMemory - Please Wait.  
JVMDG315: JVM Requesting Heap dump file  
.JVMDG318: Heap dump file written to /usr/sag/exx/v721/3rdparty/jakarta-tomcat-4.1.30/bin/heapdump303266.1128017857.phd  
JVMDG303: JVM Requesting Java core file  
JVMDG304: Java core file written to /usr/sag/exx/v721/3rdparty/jakarta-tomcat-4.1.30/bin/javacore303266.1128017859.txt  
JVMDG274: Dump Handler has Processed OutOfMemory.  
JVMST109: Insufficient space in Javaheap to satisfy allocation request  
JVMDG217: Dump Handler is Processing OutOfMemory - Please Wait.  
JVMDG315: JVM Requesting Heap dump file  
.JVMDG318: Heap dump file written to /usr/sag/exx/v721/3rdparty/jakarta-tomcat-4.1.30/bin/heapdump303266.1128017864.phd  
JVMDG303: JVM Requesting Java core file

Thanks in advance for the solution 🙂

---

<div class="post-metadata">

**Author:** ![Matthew](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@Matthew](https://techcommunity.softwareag.com/u/Matthew)\
**Post date:** [September 30, 2005, 1:12pm UTC](https://techcommunity.softwareag.com/t/insufficient-space-in-javaheap/59450/2 "2005-09-30T13:12:36Z")

</div>

This appears to be a problem with the IBM JVM itself. There is an open issue at IBM “SOV,94351” opened the end of August. I do not beleive a solution is going to be provided in the short-term for this.

You could try going back to the IBM JVM in 1.4.1 or if possible, switch to the sun JVM 1.4.2\_(Newest). In my reading about the issue, it was not clear at what point IBM introduced the bug. They made some changes to the Garbage collection in recent releases which caused this issue.

I hope that helps 8=)

---

<div class="post-metadata">

**Author:** ![Karin\_Hilbert](https://avatars.discourse-cdn.com/v4/letter/k/a183cd/32.png) [@Karin\_Hilbert](https://techcommunity.softwareag.com/u/Karin_Hilbert)\
**Post date:** [March 20, 2007, 1:09am UTC](https://techcommunity.softwareag.com/t/insufficient-space-in-javaheap/59450/3 "2007-03-20T01:09:00Z")

</div>

Did you ever get a solution to your “JVMST109: Insufficient space in Javaheap to satisfy allocation request” error? We are having the same problem with our installation of Mediator on a zSeries Linux image. Our java is now at version:

java version “1.4.2”  
Java™ 2 Runtime Environment, Standard Edition (build 1.4.2)  
Classic VM (build 1.4.2, J2RE 1.4.2 IBM build cxz64142-20061124 (SR7) (JIT enabled: jitc))

It is not possible for us to go back to the SR3 release because we get our OS and Java from Novell, and they don’t support that release. Besides, if it was fixed at SR3, shouldn’t the problem have been solved when we were at SR4 and now at SR7?

Any help would be greatly appreciated.  
Best regards,  
Karin Hilbert

---

<div class="post-metadata">

**Author:** ![cdelgadop](https://avatars.discourse-cdn.com/v4/letter/c/b9e5f3/32.png) [@cdelgadop](https://techcommunity.softwareag.com/u/cdelgadop)\
**Post date:** [October 8, 2007, 9:06pm UTC](https://techcommunity.softwareag.com/t/insufficient-space-in-javaheap/59450/4 "2007-10-08T21:06:37Z")

</div>

Hi

I have the same problem. Looks like it can be solve by modifying the following variables:

```
-Xms<size> Set initial Java heap size
-Xmx<size> Set maximum Java heap size

```

that controls the java call for Websphere to a higher value. I cannot manage to set them using the variable JAVA\_OPTS and cannot find where to modify the java command in the /opt/WebSphere\_v61/bin/startServer.sh command.

Any idea ?

TIA

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:39pm UTC](https://techcommunity.softwareag.com/t/insufficient-space-in-javaheap/59450/5 "2021-04-02T14:39:50Z")

</div>


