Search found 4 matches

by sparky2708
Fri Apr 11, 2014 3:25 pm
Forum: Using .NET Memory Profiler
Topic: TROUBLESHOOTING: Attempted to read or write protected memory
Replies: 1
Views: 9487

TROUBLESHOOTING: Attempted to read or write protected memory

Does .NET Memory Profiler provide any help with troubleshooting the following .NET errors. Any pointers on how to troubleshoot these issues?: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at System.Windows.Form...
by sparky2708
Tue Jan 22, 2013 7:51 pm
Forum: Using .NET Memory Profiler
Topic: VB.NET Handles clause and MemProfiler
Replies: 1
Views: 6963

VB.NET Handles clause and MemProfiler

In an Instance Graph, how do I tell which event handlers are created because of a "Handles XXXEvent clause" on some method AS OPPOSED TO an event handler being created because of "AddHandler XXXEvent, AddressOf SomeDelegate" statement. I can't think of a case where the former would be a memory leak ...
by sparky2708
Tue Jul 26, 2011 6:43 pm
Forum: General
Topic: MemProfiler and VB.NET Handles clause
Replies: 1
Views: 28254

MemProfiler and VB.NET Handles clause

I keep getting MemProfiler reporting that I don't unsubscribe from events. The thing is that our code in VB.NET has the "Handles <EventXXX>" clause on some methods and it looks like that is what MemProfiler is reporting as a leak. When does the "Handles" clause unsubscribe? Why is MemProfiler report...
by sparky2708
Sat Jan 22, 2011 5:22 am
Forum: General
Topic: ProperyStore
Replies: 1
Views: 27445

ProperyStore

Can someone please explain how PropertyStore works in the context of MDIChild. When I run memprofiler I see my form stuck in propertyStore.objEntries[]. Why does my form have a reference from that array? What happens if I set an MDIParent on a child to some MDIParent and then set child.MDIParent = N...