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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...