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

How to increase Java heap size for Program Objects?

I wrote a Java program object for XIr2 that is running into some OutOfMemory errors when opening reports with large data sets. How can I increase the heap size for my Program object? This would be similar to the java command "java -Xms64m -Xmx256m <class>" to set the initial and maximum heap sizes. I didn't see any options for this in the CMC or as a command line parameter to the Job Server in the CCM.

Thanks,

Ryan

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Jun 13, 2008 at 08:46 PM

    Log onto the CMC, and in the "Arguments" field for the Program Object Process -> Parameters, add the following:

    {-jvmArgs -Xms64m -Xmx256m}

    and that will add the contents to the Java exe command-line.

    Sincerely,

    Ted Ueda

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 16, 2008 at 06:46 PM

    Marking question as unanswered -- see above

    Edited by: Ryan Muldowney on Jun 16, 2008 8:46 PM

    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.