Getting Data In

Powershell script in Heavy Forwarder consuming a lots of memory in Active Directory.

hcarvcamp
Explorer

Hi, everyone

I have a simple PowerShell script that runs every 5 minutes grabbing data from a database.
I have noticed the memory climbs quite high (almost 4GB). I have an "output" is the Heavy Forwarder. Seems like the memory keeps climbing.

_
alt text
_

Any suggestions?

Thank you,

Hugo Campelo.

0 Karma

muebel
SplunkTrust
SplunkTrust

Hi hcarvcamp, hmm, seems like a memory leak. Have you tried utilizing the Database Connect App? It's built by Splunk precisely for this sort of purpose.

To address the script itself, could you share it in a comment? (or revise the question to include it)

Otherwise, please let me know if this answers your question! 😄

0 Karma
Get Updates on the Splunk Community!

Developer Spotlight with Brett Adams

In our third Spotlight feature, we're excited to shine a light on Brett—a Splunk consultant, innovative ...

Index This | What can you do to make 55,555 equal 500?

April 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...