Getting Data In

How do I prevent Splunkd crashing with memory allocation error?

vikas_gopal
Builder

Hello Splunk ES experts ,

My Splunkd is crashing frequently with below error in crash logs

C++ exception:
exception_addr=0x7ff2c2c3c620
typeinfo=0x556c38241c48, name=St9bad_alloc
Exception indicates memory allocation failure

This started after ES app installation . I have checked with free command I have plenty of  memory on the system 32GB and 16 CPU

               total                 used            free                   shared           buff/cache           available
Mem: 32750180     1764936    19979208     17744               11006036         31040488
Swap: 4169724          0                   4169724

 

Below are my ulimit settings 

splunk soft nofile 65535
splunk hard nofile 65535
splunk soft nproc 65535
splunk hard nproc 65535

Any suggestions please 

Labels (1)
Tags (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Open a support case.

---
If this reply helps you, Karma would be appreciated.
0 Karma

vikas_gopal
Builder

I will file it but wanted check with the community is anyone else is also facing the same issue ?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...

Keep the Learning Going with the New Best of .conf Hub

Hello Splunkers, With .conf26 getting closer, there’s already a lot of excitement building around this year’s ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...