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!

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Answers Content Calendar, July Edition I

Hello Community! Welcome to another month of Community Content Calendar series! For the month of July, we will ...