Login  
Search All Forums
Dart Home | PowerSNMP for .NET | Custom Development Reply | PowerSNMP for .NET Topics | Forums   
AuthorForum: PowerSNMP for .NET
Topic: PowerSNMP 4.2 Memory leaks
tgrharris
aharris@harris.com

From: Palm Bay, FL USA
Posts: 25
Member Since: 06/22/09
posted August 4, 2010 11:35 PM

I'm getting considerable growth over time in my process. I have a profiler and it's pointing to the Manager start thread and my receive event handlers. I am passing objects to the SlaveThreadStart delegate method that don't seem to be getting garbage collected. Also it appears SlaveThreadStart is leaking memory over time. Can you give any general guidance for making sure objects passed into the SlaveThreadStart methods are garbage collected and for making sure the worker threads for status polling are being properly garbage collected? Also, is there a need to unregister for status received events once an event is called and handled? Just looking for any general guidance for garbage collection issues. I can attach source code if need be. Thanks in advance.
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted August 10, 2010 12:59 PM

Hi,
Please send an email to support@dart.com with information on the profiler you are using.
Please reference this thread in the email.

Also, please include repro steps in the email.
For example, can we see the memory problems with our sample apps (maybe the SNMP Poller)?
Or, can you include a simple demo app we could easily run?

Thanks,
-ken

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

tgrharris
aharris@harris.com

From: Palm Bay, FL USA
Posts: 25
Member Since: 06/22/09
posted August 23, 2010 2:01 PM

Ken,

Looks a coding error in our code. Please disregard the error posted. Thanks for the quick response.
Reply | PowerSNMP for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX