Skip to Content
author's profile photo Former Member
Former Member

Java heap errors on crystal reports

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?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 06, 2014 at 04:31 PM

    Hi,

    See this

    java heap space

    Thanks,

    DJ

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 06, 2014 at 07:30 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 08, 2014 at 07:44 AM

    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
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.