So I have one user that is getting the java heap error on one specific table on a jdbc connection.I have tried increasing the java heap size on the java control panel to changed the java parameter to - Xms1024m - Xmx1024m but that didnt work.Im running Version 14.0.2.364 RTM of crystal reports.How can I fix this issue?
Hello,
I suspect this problem is because the table you are accessing using CR is too large to be handled by the JVM. Typically the JVM that is used by CR is 32-bit. If you are using a windows machine, the max heap space you can assign varies between 1.3GB and 1.5 GB. Try assigning the maximum heap space as -xmax in vmargs before getting a JVM initialization error and check if it is working. If you still get the same error, I suggest you to decrease the number of rows in the table.
Thanks
Ravi Kiran
Add a comment