<?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>topic Re: Java heap space in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Java-heap-space/m-p/100992#M1463</link>
    <description>&lt;P&gt;I'm not familiar with this script, so I couldn't really tell you where to modify it.  &lt;/P&gt;

&lt;P&gt;Is this a Splunk provided script?  Or part of an app?&lt;/P&gt;</description>
    <pubDate>Mon, 26 Mar 2012 14:20:37 GMT</pubDate>
    <dc:creator>Brian_Osburn</dc:creator>
    <dc:date>2012-03-26T14:20:37Z</dc:date>
    <item>
      <title>Java heap space</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Java-heap-space/m-p/100989#M1460</link>
      <description>&lt;P&gt;Dear Splunk,&lt;/P&gt;

&lt;P&gt;2012-03-21 15:54:51,020 0 [main] ERROR com.splunk.jdbcscriptedinput.Main  - java.lang.OutOfMemoryError: Java heap space&lt;BR /&gt;
2012-03-21 16:34:32,108 0 [main] INFO  com.splunk.jdbcscriptedinput.QueryRunner  - Retrieved and printed 1226776 rows.&lt;BR /&gt;
2012-03-21 16:35:32,111 60003 [main] INFO  com.splunk.jdbcscriptedinput.QueryRunner  - Time expired. Ending query loop.&lt;/P&gt;

&lt;P&gt;Do you know how to increase the limit of this Java heap space ?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2012 08:37:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Java-heap-space/m-p/100989#M1460</guid>
      <dc:creator>mocquax</dc:creator>
      <dc:date>2012-03-26T08:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Java heap space</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Java-heap-space/m-p/100990#M1461</link>
      <description>&lt;P&gt;Uh, need more information.&lt;/P&gt;

&lt;P&gt;What app is this?  Usually for java you can look for the "java -Xmx256m -Xms512m" line which sets the max (mx) and min (ms) memory used.&lt;/P&gt;

&lt;P&gt;Brian&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2012 13:58:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Java-heap-space/m-p/100990#M1461</guid>
      <dc:creator>Brian_Osburn</dc:creator>
      <dc:date>2012-03-26T13:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: Java heap space</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Java-heap-space/m-p/100991#M1462</link>
      <description>&lt;P&gt;Actually this the jdbc scripted input. Where can i add this sentence named "java -Xmx256m -Xms512m"? run.sh script ?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2012 14:03:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Java-heap-space/m-p/100991#M1462</guid>
      <dc:creator>mocquax</dc:creator>
      <dc:date>2012-03-26T14:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Java heap space</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Java-heap-space/m-p/100992#M1463</link>
      <description>&lt;P&gt;I'm not familiar with this script, so I couldn't really tell you where to modify it.  &lt;/P&gt;

&lt;P&gt;Is this a Splunk provided script?  Or part of an app?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2012 14:20:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Java-heap-space/m-p/100992#M1463</guid>
      <dc:creator>Brian_Osburn</dc:creator>
      <dc:date>2012-03-26T14:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: Java heap space</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Java-heap-space/m-p/100993#M1464</link>
      <description>&lt;P&gt;As per Brian's suggestion :&lt;/P&gt;

&lt;P&gt;If it is &lt;A href="http://splunk-base.splunk.com/apps/27105/jdbc-scripted-input"&gt;this app&lt;/A&gt; you are referring to :&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;open    &lt;CODE&gt;splunkjdbcscriptedinput\bin\run.sh&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;after the "java" command paste in the    JVM heap settings&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;java -Xmx256m -Xms512m -cp .:lib/* com.splunk.jdbcscriptedinput.Main $QUERY_NAME/query.properties $QUERY_NAME/query.pointer 2&amp;gt; $LOG_PATH&lt;/CODE&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;You can use larger heap memory sizes depending on your JVM architecture(32/64 bit)&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2012 21:18:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Java-heap-space/m-p/100993#M1464</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2012-03-26T21:18:30Z</dc:date>
    </item>
  </channel>
</rss>

