Exception in thread "CompilerThread1" java.lang.OutOfMemoryError

Hi Friends,

When i’m starting IS getting an error like this.

2013-10-09 00:26:13 IST [BAP.0003.0009D] MasterPassword: retrieving master passw
ord
2013-10-09 00:26:13 IST [ISS.0025.0011I] Package Replicator Manager started
2013-10-09 00:26:13 IST [ISS.0028.0001I] Loading packages

Exception in thread “CompilerThread1” java.lang.OutOfMemoryError: requested 3275
6 bytes for ChunkPool::allocate. Out of swap space?

C:\webMethods7\IntegrationServer\bin>

So, please provide me a solution for this.

Error seems to JVM crash

What is version of JVM you are using?

edit your setenv.bat file, increase JAVA_MIN_MEM & JAVA_MAX_MEM.
if you run 32 bit JVM, set it to 1024
if you run 64 bit JVM, set it higher

Hi Sai,

I’m using this java version “1.6.0_07”
Java™ SE Runtime Environment (build 1.6.0_07-b06)

Hi Tong Wang,

C:\webMethods7\Developer\bin\developer.bat

This is my setEnv.bat

set JAVA_HOME=C:\webMethods7\jvm\win150
set DCI_HOME=C:\webMethods7\common\db
set CDBS_HOME=C:\webMethods7\common\db

:setStartHeap
if not “%DCI_START_HEAP%” == “” goto setMaxHeap
set DCI_START_HEAP=10

:setMaxHeap
if not “%DCI_MAX_HEAP%” == “” goto setJavaOpts
set DCI_MAX_HEAP=512

:setJavaOpts
set JAVA_OPTS=%JAVA_OPTS% -DCDBS.home.path="%CDBS_HOME%"
set JAVA_OPTS=%JAVA_OPTS% -DDCI.home.path="%DCI_HOME%"
set JAVA_OPTS=%JAVA_OPTS% -Dlog.dir="%DCI_HOME%\logs"
set JAVA_OPTS=%JAVA_OPTS% -DtermOutOn=true
set JAVA_OPTS=%JAVA_OPTS% -DspoolOn=true
set JAVA_OPTS=%JAVA_OPTS% -DlogLevel=INFO
set JAVA_OPTS=%JAVA_OPTS% -Xms%DCI_START_HEAP%m
set JAVA_OPTS=%JAVA_OPTS% -Xmx%DCI_MAX_HEAP%m
set JAVA_OPTS=%JAVA_OPTS% -Xss256k[/b]

Where should i increase the size ?

did you check “server.bat” under integrationServer/bin?
it’s not under Developer dir