[ On Thursday, June 13, 2002 at 11:06:16 (-0400), Wright, Kevin wrote: ] > Subject: SuSe/Oracle Linux JVM error > > Our user is getting the following error: > > **Out of memory, aborting** > > *** panic: JVMST018: Cannot allocate memory for initializeMarkAndAllocBits( > allocbits1) > ./wytest.ksh: line 161: 26190 Aborted java -Xms10m -Xmx2g - > DPATROLEXTRACT=$PATROLEXTRACT -DERR_MSG_FILE=$ERR_MSG_FILE -DEXT_PROPDIR=$E > XT_PROPDIR -DEXT_DB_PROP=$EXT_DB_PROP -DEXT_LOG_PROP=$EXT_LOG_PROP -DOUT_FI > LE=$OUT_FILE -DARTICLE_EXT_DATE=$article_extract_date com.dowjones.dw.extra > ction.source.extraction $@ > > We have 1GB of real memory and defined 1GB of Virtual memory to the Linux
I'm not really comfortable with Java on L390, but from my Intel Linux and Solaris experiences, I have found that giving a JVM more heap space than physical memory available is asking for trouble. I have seen the garbage collector taking any kind of strange hoops in such situations. I have never really been able to identify the real problems, but I'm staying away from such setting. So a first advice would be: Don't set -Xmx larger than 80-90% of physical RAM. Hm - by physical on L390 I mean of course the amount of RAM that you make visible to the Linux guest in question. HTH, Joe