<?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 JMS Messaging Modular Input: &amp;quot;OutOfMemoryError: Java heap space&amp;quot; error after larger messages are read from queue in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMS-Messaging-Modular-Input-quot-OutOfMemoryError-Java-heap/m-p/239834#M27136</link>
    <description>&lt;P&gt;We receive an &lt;CODE&gt;OutOfMemoryError: Java heap space&lt;/CODE&gt; error after larger messages are read from queue. This is followed by the individual queue no longer being read into Splunk. We have been able to reproduce this a few times by dropping a ~13MB message into Websphere MQ. &lt;/P&gt;

&lt;P&gt;Debug logs follow:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;11-18-2015 16:33:06.151 -0600 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\jms_ta\bin\jms.py""  at com.splunk.modinput.jms.JMSModularInput$MessageReceiver.run(Unknown Source)
11-18-2015 16:33:06.151 -0600 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\jms_ta\bin\jms.py""  at com.splunk.modinput.jms.JMSModularInput$MessageReceiver.streamMessageEvent(Unknown Source)
11-18-2015 16:33:06.151 -0600 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\jms_ta\bin\jms.py""  at com.splunk.modinput.ModularInput.marshallObjectToXML(Unknown Source)
11-18-2015 16:33:06.151 -0600 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\jms_ta\bin\jms.py""  at java.lang.StringBuilder.toString(Unknown Source)
11-18-2015 16:33:06.151 -0600 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\jms_ta\bin\jms.py""  at java.lang.String.&amp;lt;init&amp;gt;(Unknown Source)
11-18-2015 16:33:06.151 -0600 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\jms_ta\bin\jms.py""  at java.util.Arrays.copyOfRange(Unknown Source)
11-18-2015 16:33:06.151 -0600 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\jms_ta\bin\jms.py"" Exception in thread "Thread-3" java.lang.OutOfMemoryError: Java heap space
11-18-2015 16:33:05.792 -0600 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\jms_ta\bin\jms.py""  INFO Streaming message to Splunk for indexing
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;We have 3 JMS inputs running on this instance; the other 2 continue to work after the first one experiences issues. We have tried increasing the java_args stanza in jms.py to use "-Xms256m","-Xmx256m" but this has not helped to resolve the issue. Any help with this would be appreciated.&lt;/P&gt;</description>
    <pubDate>Wed, 18 Nov 2015 22:46:01 GMT</pubDate>
    <dc:creator>bdahlb</dc:creator>
    <dc:date>2015-11-18T22:46:01Z</dc:date>
    <item>
      <title>JMS Messaging Modular Input: "OutOfMemoryError: Java heap space" error after larger messages are read from queue</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMS-Messaging-Modular-Input-quot-OutOfMemoryError-Java-heap/m-p/239834#M27136</link>
      <description>&lt;P&gt;We receive an &lt;CODE&gt;OutOfMemoryError: Java heap space&lt;/CODE&gt; error after larger messages are read from queue. This is followed by the individual queue no longer being read into Splunk. We have been able to reproduce this a few times by dropping a ~13MB message into Websphere MQ. &lt;/P&gt;

&lt;P&gt;Debug logs follow:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;11-18-2015 16:33:06.151 -0600 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\jms_ta\bin\jms.py""  at com.splunk.modinput.jms.JMSModularInput$MessageReceiver.run(Unknown Source)
11-18-2015 16:33:06.151 -0600 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\jms_ta\bin\jms.py""  at com.splunk.modinput.jms.JMSModularInput$MessageReceiver.streamMessageEvent(Unknown Source)
11-18-2015 16:33:06.151 -0600 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\jms_ta\bin\jms.py""  at com.splunk.modinput.ModularInput.marshallObjectToXML(Unknown Source)
11-18-2015 16:33:06.151 -0600 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\jms_ta\bin\jms.py""  at java.lang.StringBuilder.toString(Unknown Source)
11-18-2015 16:33:06.151 -0600 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\jms_ta\bin\jms.py""  at java.lang.String.&amp;lt;init&amp;gt;(Unknown Source)
11-18-2015 16:33:06.151 -0600 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\jms_ta\bin\jms.py""  at java.util.Arrays.copyOfRange(Unknown Source)
11-18-2015 16:33:06.151 -0600 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\jms_ta\bin\jms.py"" Exception in thread "Thread-3" java.lang.OutOfMemoryError: Java heap space
11-18-2015 16:33:05.792 -0600 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\jms_ta\bin\jms.py""  INFO Streaming message to Splunk for indexing
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;We have 3 JMS inputs running on this instance; the other 2 continue to work after the first one experiences issues. We have tried increasing the java_args stanza in jms.py to use "-Xms256m","-Xmx256m" but this has not helped to resolve the issue. Any help with this would be appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2015 22:46:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMS-Messaging-Modular-Input-quot-OutOfMemoryError-Java-heap/m-p/239834#M27136</guid>
      <dc:creator>bdahlb</dc:creator>
      <dc:date>2015-11-18T22:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: JMS Messaging Modular Input: "OutOfMemoryError: Java heap space" error after larger messages are read from queue</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMS-Messaging-Modular-Input-quot-OutOfMemoryError-Java-heap/m-p/239835#M27137</link>
      <description>&lt;P&gt;Have you tried larger than 256 ?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2015 03:56:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMS-Messaging-Modular-Input-quot-OutOfMemoryError-Java-heap/m-p/239835#M27137</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2015-11-19T03:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: JMS Messaging Modular Input: "OutOfMemoryError: Java heap space" error after larger messages are read from queue</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMS-Messaging-Modular-Input-quot-OutOfMemoryError-Java-heap/m-p/239836#M27138</link>
      <description>&lt;P&gt;We had upped this line to 256MB already but apparently even that was too low for what we were doing; increasing it to 512MB resolved our issue.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2015 17:09:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JMS-Messaging-Modular-Input-quot-OutOfMemoryError-Java-heap/m-p/239836#M27138</guid>
      <dc:creator>bdahlb</dc:creator>
      <dc:date>2015-11-19T17:09:40Z</dc:date>
    </item>
  </channel>
</rss>

