In this blog post, you’ll learn more about the Sybase Error Java VM heap exhausted at internal function: %1 and the reason for receiving this error
Sybase SQL Error Message
Java VM heap exhausted at internal function: %1
Reason for this Error
The amount of space allocated for the Java VM is insufficient to continue allocating new objects. Increase the size by using: SET OPTION PUBLIC.java_heap_size = nnnnnnnn.