All Apps and Add-ons

Does anyone know how to handle the following error while reading messages from queues-JMS modular input?

ankithreddy777
Contributor

I am consuming messages using the JMS modular input.

For one connection, I need to refresh the queue connection by disabling it and enabling it again to start re-consuming. I need to do it every 5 min.

It is giving the following error
message from:

"python /opt/splunk/etc/apps/jms_ta/bin/jms.py" Exception in thread "Thread-40" java.lang.OutOfMemoryError: Java heap space

Do you know how to handle this?
@Damien Dallimore

0 Karma

Damien_Dallimor
Ultra Champion

Without knowing anything about your messaging environment or setup , the first thing you should do related to that message is refer to the documentation, specifically the "Java Heap Size" section , https://splunkbase.splunk.com/app/1317/#/details

Look for "-Xms64m","-Xmx64m"

To increase heap do something like "-Xms64m","-Xmx256m" , or whatever you need to max to be for your use case.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...