Re: Increase in Memory

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Christian Boult (chrboult_at_hotmail.com)
Date: 02/27/04


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



Relevant Pages

  • RE: VMWare ESX and FBSD 7.2 AMD64 guest
    ... two processors, and 8GB of memory. ... Knowing the sites the client wants to aggregate into IIS, ... running with the exact same environment. ...
    (freebsd-questions)
  • Re: Stack memory
    ... We have 3 main portion in our memory analysis ... I am using borland Turbo C environment.. ... or there is some sharing of memory b/w heap and stack...? ... Can we know what is maximum amount of stack available in our ...
    (comp.lang.c)
  • Re: !# script interpreter convention ...
    ... :>on the heap, and the start of the heap is memory location ... :>treated it like free memory to be allocated. ... The kernel copied the environment into the process when it performed the ... read-only segment, then setenvwould segfault. ...
    (comp.unix.shell)
  • Re: !# script interpreter convention ...
    ... >on the heap, and the start of the heap is memory location ... >treated it like free memory to be allocated. ... The kernel copied the environment into the process when it performed the ... >to just have the kernel copy the environment into user space, ...
    (comp.unix.shell)
  • Re: Virtual Memory Problem
    ... it's not freed back to the global memory system. ... that library isn't using LocalAllocfor every allocation or the heap would ... For each client there's an instance of a class ...
    (microsoft.public.windowsce.app.development)