Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> JServer Xmx

JServer Xmx

From: Achille Carette <acarette_at_aprico-consult.com>
Date: Mon, 3 Dec 2001 11:25:10 +0100
Message-ID: <3c0b532f$0$24154$ba620e4c@news.skynet.be>


I tried to run a Java application in an Oracle database's JVM ( Oracle 8.1.7 or 9.0.1, Win2000 Pro). Unfortunately, i got the following :

ORA-29532: Java call terminated by uncaught Java exception: java.lang.OutOfMemoryError

When using the Sun's JRE, it is possible to increase te heap with the following syntax : java -Xmx[..] MyClass

But i haven't found the equivalent for the JServer - JAVA_MAX_SESSIONSPACE_SIZE is irrelevant, since it is used only when static variables are present, to keep variables state between calls.

Is there any way to control JServer memory allocation ? (Another solution would be to curb memory needs. But, AFAIK, this application needs around 10M - i think this does not deserve an OutOfMemoryError)

Thanks,

Achille Carette



Senior Software Engineer, Java-based Architectures Aprico Consultants, Brussels Received on Mon Dec 03 2001 - 04:25:10 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US