Red Gate forums :: View topic - Unmanaged memory issue by modules "agcore" and "npctrl".
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Memory Profiler 8
ANTS Memory Profiler 8 forum

Unmanaged memory issue by modules "agcore" and "npctrl".

Search in ANTS Memory Profiler 8 forum
Post new topic   Reply to topic
Jump to:  
Author Message
ALSC



Joined: 29 Apr 2014
Posts: 2

PostPosted: Tue Apr 29, 2014 2:29 pm    Post subject: Unmanaged memory issue by modules "agcore" and "npctrl". Reply with quote

We have a Silverlight 5 application in which we have a memory leak. As far as we can see in the ANTS memory Profiler, the leak is in the unmanaged code, and expecially the two modules acgore and npctrl which increases significantly during the running time of the application.
From the profile result it is hard to see excatly why these increase in memory.
Also searching the web has not providing much inside on these two modules and what their role is. So has anyone any idea about what they do and where a possible memory leak can happen due to these?

Allan Christensen
Systems developer
[/img]
Back to top
View user's profile Send private message
jessica.ramos



Joined: 23 Apr 2012
Posts: 235

PostPosted: Wed Apr 30, 2014 5:33 pm    Post subject: Reply with quote

Hi there,

Thanks for your post!

You've probably found this from your web searches, but what I've found is that agcore.dll is the Silverlight core dll used mostly for drawing, and npctrl.dll is the plugin used to host the Silverlight runtime in a browser and interact with it.

Have you tried looking at the class list to see which classes are using the most unmanaged memory? That will hopefully shed light on the high usage of the Silverlight libraries.
_________________
Jessica Ramos
Technical Support
Red Gate Software Ltd.
Back to top
View user's profile Send private message
ALSC



Joined: 29 Apr 2014
Posts: 2

PostPosted: Thu May 01, 2014 8:08 am    Post subject: Reply with quote

Thanks for the quick reply.
Yes I looked at the Class list and here i could see that the class holding most of the unmanaged code is
namespace:MS.Internal
Class name: NaticeObjectSafeHandle

Unfortunatly i cannot find much information about this class, and if i go to the Instance categorizer or the Instance retention graph, I cannot determine the cause of problem since the graphs are just to complex.

Any idea what this class is doing?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group