Java VM heap exhausted at internal function: %1

Error constant SQLE_JAVA_VM_HEAP_EXHAUSTED
ODBC 2 state ERROR
ODBC 3 state ERROR
Parameter 1 The internal function is for debugging purposes.
Severity 16
SQLCODE -165
SQLSTATE WP008
Sybase error code 13740
 Probable cause