on 10-06-2014 5:22 PM
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Should I consider perhaps running like a java heap dump so i can run java memory analysis to narrow down the issue.Only other thing i can see to try from the forum.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Look into this:
10 points about Java Heap Space or Java Heap Memory
I am not sure this is helpful or not ..Please never mind.
nOTE: You can increase JHS or run JHS use Admin Locality.
Thanks,
DJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.