6.98 SDO_NET.SET_MAX_JAVA_HEAP_SIZE
Format
SDO_NET.SET_MAX_JAVA_HEAP_SIZE( bytes IN NUMBER);
Description
Sets the Java maximum heap size for an application to run in an Oracle Java virtual machine.
Usage Notes
If you encounter the java.lang.OutOfMemoryError
exception, you can use this procedure to increase the maximum heap size.
If you specify a value greater than the system limit, the system limit is used.
Examples
The following example sets the Java maximum heap size to 536870912 (512 MB).
EXECUTE SDO_NET.SET_MAX_JAVA_HEAP_SIZE(536870912);
Parent topic: SDO_NET Package Subprograms