<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: How to increase Java heap size for Program Objects? in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/how-to-increase-java-heap-size-for-program-objects/qaa-p/4037054#M1574516</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After some additional testing, I'm having another problem -- my app takes command line arguments as parameters.  I've tried to combine the required arguments with the -jvmArgs flag in a few ways.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.  "Argument1 -jvmArgs -Xms64m -Xmx256m" -- the app thinks there are no arguments supplied&lt;/P&gt;&lt;P&gt;2.  "-jvmArgs -Xms64m -Xmx256m Argument1" -- the JVM thinks that Argument1 is my Java class name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's the solution to this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a related note, are there any other flags available aside from -jvmArgs?  Is this documented somewhere?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jun 2008 18:45:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-16T18:45:50Z</dc:date>
    <item>
      <title>How to increase Java heap size for Program Objects?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-increase-java-heap-size-for-program-objects/qaq-p/4037051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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 &amp;lt;class&amp;gt;" 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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 18:59:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-increase-java-heap-size-for-program-objects/qaq-p/4037051</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-13T18:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase Java heap size for Program Objects?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-increase-java-heap-size-for-program-objects/qaa-p/4037052#M1574514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Log onto the CMC, and in the "Arguments" field for the Program Object Process -&amp;gt; Parameters, add the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    {-jvmArgs -Xms64m -Xmx256m}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and that will add the contents to the Java exe command-line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ted Ueda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 20:46:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-increase-java-heap-size-for-program-objects/qaa-p/4037052#M1574514</guid>
      <dc:creator>ted_ueda</dc:creator>
      <dc:date>2008-06-13T20:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase Java heap size for Program Objects?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-increase-java-heap-size-for-program-objects/qaa-p/4037053#M1574515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As always, the man with all the answers comes through!   Thanks Ted!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 13:20:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-increase-java-heap-size-for-program-objects/qaa-p/4037053#M1574515</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T13:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase Java heap size for Program Objects?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-increase-java-heap-size-for-program-objects/qaa-p/4037054#M1574516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After some additional testing, I'm having another problem -- my app takes command line arguments as parameters.  I've tried to combine the required arguments with the -jvmArgs flag in a few ways.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.  "Argument1 -jvmArgs -Xms64m -Xmx256m" -- the app thinks there are no arguments supplied&lt;/P&gt;&lt;P&gt;2.  "-jvmArgs -Xms64m -Xmx256m Argument1" -- the JVM thinks that Argument1 is my Java class name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's the solution to this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a related note, are there any other flags available aside from -jvmArgs?  Is this documented somewhere?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 18:45:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-increase-java-heap-size-for-program-objects/qaa-p/4037054#M1574516</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T18:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase Java heap size for Program Objects?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-increase-java-heap-size-for-program-objects/qaa-p/4037055#M1574517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marking question as unanswered -- see above&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ryan Muldowney on Jun 16, 2008 8:46 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 18:46:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-increase-java-heap-size-for-program-objects/qaa-p/4037055#M1574517</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T18:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase Java heap size for Program Objects?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-increase-java-heap-size-for-program-objects/qaa-p/4037056#M1574518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you mean:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{-jvmArgs -Xms64m -Xmx256m} Argument1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ted Ueda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 18:51:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-increase-java-heap-size-for-program-objects/qaa-p/4037056#M1574518</guid>
      <dc:creator>ted_ueda</dc:creator>
      <dc:date>2008-06-16T18:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase Java heap size for Program Objects?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-increase-java-heap-size-for-program-objects/qaa-p/4037057#M1574519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was it, I glossed over those braces.  Adding that works brilliantly, so thanks yet again.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a document somewhere that explains this and other options available when working with Program objects?  I don't recall seeing it in the Dev Library anywhere, but I could have easily missed it out there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 18:58:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-increase-java-heap-size-for-program-objects/qaa-p/4037057#M1574519</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T18:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase Java heap size for Program Objects?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-increase-java-heap-size-for-program-objects/qaa-p/4037058#M1574520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Happy to hear it's working for you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, there's no documentation that I'm aware of.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That particular option was added not at release but with XI Release 2 Service Pack 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ted Ueda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 19:40:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-increase-java-heap-size-for-program-objects/qaa-p/4037058#M1574520</guid>
      <dc:creator>ted_ueda</dc:creator>
      <dc:date>2008-06-16T19:40:13Z</dc:date>
    </item>
  </channel>
</rss>

