cancel
Showing results for 
Search instead for 
Did you mean: 

Java heap errors on crystal reports

Former Member
0 Kudos

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?

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member509472
Discoverer
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

Would I be increasing java heap space on the CRconfig file,java control panel, or the actual database program im using.

Former Member
0 Kudos

Hi,

See this

java heap space

Thanks,

DJ

Former Member
0 Kudos

Now if the issue is the default Java heap space wouldnt that affect all of my users instead of 1 out of 3.