Author | Forum: PowerSNMP for .NET Topic: SnmpBase OutOfMemoryException |
Zaphod Beeblebrox From: Australia Posts: 2 Member Since: 01/31/16 |
posted January 31, 2016 6:58 PM This is very easy to reproduce, I have created a very simple agent, and all I do is walk the tree a number of times. Using either iReasoning, SnmpB, or dart code has the same effect. The listener crashes with an OutOfMemoryException System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at Dart.Snmp.SnmpBase.0(EventHandler`1 , Delegate , Object ) at Dart.Snmp.Agent.0(Object , SocketAsyncEventArgs ) This occurs consistently after 25929 getNext's |
Jason Farrar (Admin) From: Oneida, NY USA Posts: 223 Member Since: 07/24/07 Extra Support Options Custom Application Development |
posted February 10, 2016 2:04 PM Using the agent sample that ships with the most current release (PowerSNMP for .NET 4.8) I was able to perform 100,000 walks against the agent totaling 600,000 getNext request and that did not reproduce the issue. The sample in it's shipping state will use a lot of memory due to logging every request to a listview control. Disabling that logging results in the agent sample keeping memory usage within the ~14MB to ~25MB range. ------ |
Zaphod Beeblebrox From: Australia Posts: 2 Member Since: 01/31/16 |
posted February 10, 2016 4:38 PM I am using 4.3.1 as it is a licensed version. There is nothing in the change log to indicate that this issue was fixed in a later version. I'm not using a listview or the sample, simply running the agent in a console and using v1 of SNMP. |
Mike Baldwin (Admin)![]() From: Rome, NY USA Posts: 114 Member Since: 04/11/00 Extra Support Options Custom Application Development |
posted February 11, 2016 2:04 PM Hello Zaphod, Thank you for your report on version 4.3.1. Since we've not been able to reproduce using our shipping version, could you download our trial and test that using your application? |
Jamie Powell (Admin) From: Rome, NY USA Posts: 448 Member Since: 03/13/07 Extra Support Options Custom Application Development |
posted February 22, 2016 1:21 PM We have confirmed this issue does not appear in the current version (4.8.1) of PowerSNMP for .NET. If you have an active Subscription you may login to your Customer Center account to upgrade. If you would like to add a Subscription, please email sales@dart.com for pricing and purchase information. All the best, Jamie |
Reply | PowerSNMP for .NET Topics | Forums |
This site is powered by
![]() |