Click here to Skip to main content
15,893,814 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

Please do not mark this question as repost , i posted a question on memory leak , placed this in comments , no response so reposting it .

for my windows application developed in C#.NET 2.0

I tried to debug the issue using Debugdiag , it showed memory leak in below libs ,

these are the dlls where leak occurs , over i period time the leak for these dlls increases , leading to application crash, Please suggest what can be done.

I am using .NET framework 2.0 and my application is 32 bit.

mscorwks.dll is responsible for 121.05 MBytes worth of outstanding allocations. The following are the top 2 memory consuming functions:

mscorwks!EEVirtualAlloc+119: 120.69 MBytes worth of outstanding allocations.

mscorwks!DebuggerHeap::Alloc+2f: 284.07 KBytes worth of outstanding allocations. If this is unexpected, please contact the vendor of this module, Microsoft Corporation, for further assistance with this issue.

Warning WindowsCodecs.dll is responsible for 13.51 MBytes worth of outstanding allocations. The following are the top 2 memory consuming functions:

WindowsCodecs!WPF::ProcessHeapImpl::Alloc+16: 13.43 MBytes worth of outstanding allocations.

WindowsCodecs!zcalloc+1c: 86.67 KBytes worth of outstanding allocations.

Thanks,
Shreyas
Posted
Comments
Ron Beyer 11-Oct-13 15:40pm    
Just because they are in factory DLL's doesn't mean your application isn't responsible for them. How can we help see where your code is leaking using these libraries if you don't post it?
srastogi85 11-Oct-13 15:57pm    
Hi Ron,
I understand , actually its a big enterprise application with using DTOs and objects from Infragistics , sorry cant post the code as its not possible wanted to have some idea how to debug or identify the issue.
Thanks
Mike Meinz 11-Oct-13 16:02pm    
If you can't post your company's proprietary application code, then create a small test program that demonstrates the issue and post that code.

1 solution

 
Share this answer
 
Comments
srastogi85 11-Oct-13 16:20pm    
hi Mike ,
I see version of mscorelib as 2.0.50727.821,
I am currently using 2.0.50727.5472 , so this should inclide the fix, or i
should put this hotfix?
I think it includes from numbers i think
Thanks,
Shreyas
Mike Meinz 11-Oct-13 16:44pm    
It is probably best to ask Microsoft this question.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900