interesting problem, do you have a dedicated server for this? what are your
gc cycles like? seems to me that gc is not getting collected quickly
enough - suspicion is that the code may be hanging on to some roots after
the compression process is complete.

Signature
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------
> Hi,
> Our application is a windows service (remoting) .net v1.1. We are trying
[quoted text clipped - 13 lines]
>
> Does any body have any suggestions to address this?
Naveen - 21 Jun 2006 12:54 GMT
Hi,
I checked out the roots but there aren’t any roots to the objects.
The whole issue is that the all the objects are getting primarily allocated
in the LOH and GC collections aren’t happening. I think the whole issue is
that the short lived objects are getting allocated in the LOH.
I wish the binary formatter had method that gives the size memory stream
that is required to convert the object. If there was a method then we could
have implemented a pre allocated buffer pool which could have been reused
(that would avoid temporary LOH objects).
If I would have to throw GC.Collect I don’t see OOM, which I don’t want do.
Naveen
> interesting problem, do you have a dedicated server for this? what are your
> gc cycles like? seems to me that gc is not getting collected quickly
[quoted text clipped - 18 lines]
> >
> > Does any body have any suggestions to address this?
Dan Nemesek - 22 Jun 2006 23:15 GMT
Hi,
When you are seeing the OOM's get thrown what are the values for your
processe's Private Bytes, Virtual Bytes, and Bytes in all Heap perf
counters?
Thanks,
Dan
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2002 Microsoft Corporation.
All rights reserved.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Please reply to the newsgroups only.
I had once a simular problem
I wrote cataloging software and in some situations i could have 250 clients
to my server object i solved this by using a singleton object this also gave
me the ability to implement a caching mechanism so clients could be served
more quickly
regards
Michel Posseth [MCP]
> Hi,
> Our application is a windows service (remoting) .net v1.1. We are trying
[quoted text clipped - 13 lines]
>
> Does any body have any suggestions to address this?