Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> JServer Xmx
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
![]() |
![]() |