Red Gate forums :: View topic - Detecting why unused memory allocated to .net happens
Return to www.red-gate.com RSS Feed Available

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

Detecting why unused memory allocated to .net happens

Search in ANTS Memory Profiler 7 forum
Post new topic   Reply to topic
Jump to:  
Author Message
thomasabcd



Joined: 26 Jan 2012
Posts: 2

PostPosted: Fri Jan 27, 2012 11:09 am    Post subject: Detecting why unused memory allocated to .net happens Reply with quote

Hi,

is it possible to detect why the unused memory allocated to .net happens? I have a lot of unused memory allocated to .net. And I guess that is why my app crashes from time to time because it runs out of memory.

Thanks
Thomas
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6644

PostPosted: Mon Jan 30, 2012 1:03 pm    Post subject: Reply with quote

Hi,

I can't say for sure, but if you are the same person who emailed sales, emailed marketing and put the question on Stack Overflow, you may notice in your screenshot that the summary states that you have signs of large object heap fragmentation. Clicking the question-mark in the gray strip just above that will take you to an article on our website that explains the issue and what you can do about it.
Back to top
View user's profile Send private message
thomasabcd



Joined: 26 Jan 2012
Posts: 2

PostPosted: Fri Feb 03, 2012 1:41 pm    Post subject: Reply with quote

Hi,

yes, I am the same person who wrote emailed sales and marketing and put the question on Stack Overflow. I am really sorry if you felt spammed, but as you probably know, it is very frustrating to keep starring at your code without being able to solve the problem.

Anyway, I really think ANTS Memory profiler is a very good and user-friendly tool. Unfortunately it did not help in my case since the problem turned out to be a 32-bit dll which was not compatible with the IIS which was set to 64-bit. Changing the IIS to 32-bit solved the memory leak. I don't know if it is possible in any way, but an improvement to the memory profiler could be if it could look at the configuration of the IIS and compare it to the dlls to determine whether there are incompatible dlls.

best regards
Thomas
Back to top
View user's profile Send private message
brian.fenech



Joined: 25 Mar 2014
Posts: 2

PostPosted: Tue Mar 25, 2014 10:41 am    Post subject: Same Problem Reply with quote

I am experiencing the same problem, what was the DLL that was generating the memory leak ?
Back to top
View user's profile Send private message
brian.fenech



Joined: 25 Mar 2014
Posts: 2

PostPosted: Tue Mar 25, 2014 10:59 am    Post subject: Reply with quote

What was the problem ? Because I am experiencing a similar problem.
Back to top
View user's profile Send private message
SMSCredit



Joined: 13 May 2014
Posts: 1

PostPosted: Tue May 13, 2014 3:23 pm    Post subject: Reply with quote

I thought it was because I was using VPS, clearly it is something different.

---
Atrais kredits bez procentiem nieka 10 minusu laika!
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