HighTechTalks DotNet Forums  

CLR memory usage takes a dive and won't get up.

Dotnet Framework (CLR) microsoft.public.dotnet.framework.clr


Discuss CLR memory usage takes a dive and won't get up. in the Dotnet Framework (CLR) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
=?Utf-8?B?ZXJpayBhdCBTdGFyY291bnRlcg==?=
 
Posts: n/a

Default CLR memory usage takes a dive and won't get up. - 08-01-2007 , 08:02 AM






I have this strange problem with the CLR memory usage.

Now I have 2 .NET applications where the CLR at least wants a lot of memory,
they actually do about the same thing so with the same load they both should
need the same amount of memory. When working simultaneously they compete for
the available memory on the machine and everything seems fine, the total
memory usage on the machine is close to the physical memory limit.

But then one of the applications takes a dive in memory usage, collecting a
lot of unused object in the higher generations and after that it doesn't seem
to want to allocate more memory. The machine now has a lot of available
memory and the performance of the application with lower memory usage seems
to suffer in performance because of the lack of available memory (seems it
the word, it performs worse then the other one but I'm not really sure it's
because of the low
memory usage, the memory usage is however uncharacteristicly low). Why won't
it allocate more memory when there's a lot of free memory on the machine?

Anyone noticed something like this and has a clue on why the CLR behaives
this way? I'm guessing that the CLR for some reason doesn't think it benefits
from allocating more memory all the sudden but why would this be?

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.