| Author |
Message |
thomasabcd
Joined: 26 Jan 2012 Posts: 2
|
Posted: Fri Jan 27, 2012 11:09 am Post subject: Detecting why unused memory allocated to .net happens |
|
|
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 |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6344 Location: Red Gate Software
|
Posted: Mon Jan 30, 2012 1:03 pm Post subject: |
|
|
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. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
thomasabcd
Joined: 26 Jan 2012 Posts: 2
|
Posted: Fri Feb 03, 2012 1:41 pm Post subject: |
|
|
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 |
|
 |
|
|
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