Re: Increase in Memory
From: Christian Boult (chrboult_at_hotmail.com)
Date: 02/27/04
- Next message: Alvin Bruney [MVP]: "Re: Increase in Memory"
- Previous message: Sean Wolfe: "Re: Thread mysteriously terminates."
- In reply to: Yogesh Shetty: "Re: Increase in Memory"
- Next in thread: Alvin Bruney [MVP]: "Re: Increase in Memory"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 27 Feb 2004 08:56:38 -0500
This might not be it at all, but we were getting out of memory exceptions
and the cause was big datasets being returned to the client.
The serialization process of the returned dataset will use up alot of memory
and from searching for this on msdn and the net we found it to be a known
problem.
So if there is chance that a client might ask for a large dataset than this
might be causing the problem, otherwise let us know if you find the problem.
Hope this helps.
Chris.
"Yogesh Shetty" <anonymous@discussions.microsoft.com> wrote in message
news:F49EB1EA-85E9-4444-B891-92A1F7BD0C5A@microsoft.com...
> Thx Alvin for reply...
>
> ok here are my observation ... u can visit this link
http://weblogs.asp.net/mdavey/ where my colleage has blogged our
observations..
>
> It seems to me some problem in Generation 2 heap, today we had an exact
replica of production environment running on dual cpu box.. as market is at
its peak between 9:30 - 10:15, memroy was fluctuating between 55-65 M ( i
can agree on this as GC gets triggered ) .. but at a ceratin point when
memory reached 75 M it started growing enormously.. what i noticed during
this entire phase Large Object heap size and generation 2 heap size
constantly shrinking and growing.. and generation 1 was quite.. i can
understand this because we are sending some huge object using remoting which
cud result the size of object more than 20 K ( we r working in tweaking our
design )...
>
> so we had a 3 environment, live and 2 simulated environment, in one of the
environment we had a workstation gc running and in other environment server
gc.. during peak time app using workstaiton gc after a certain threshhold
( apporox 90-100 M ) it started growing .. what i noticed is increase in
Generation 2 heap size constantly .. no shrinking at all.. this process
contined for about 5-10 min shooting into 1.3 G and finally throwing
outofmemoryexception..
>
> but the server gc was intact in terms of memory .. even the peak memory
usage was 100 M.. this was in our simulation environment.. we will come to
know tomorrow as we have deployed our app using Server GC in live
environment..
>
> So it feels to me workstation gc goes whacky after a certain threshold and
generation 2 heap size constantly keeps on increasing and gc fails to
reclaim it ...
>
> Regards
> Yogesh s
- Next message: Alvin Bruney [MVP]: "Re: Increase in Memory"
- Previous message: Sean Wolfe: "Re: Thread mysteriously terminates."
- In reply to: Yogesh Shetty: "Re: Increase in Memory"
- Next in thread: Alvin Bruney [MVP]: "Re: Increase in Memory"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|