Alvin Bruney [ASP.NET MVP]
3/6/2006 9:28:00 PM
keep us posted. That ones got my interest.
--
Regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------
"Manso" <Manso@discussions.microsoft.com> wrote in message
news:33502819-8452-4C56-AA13-7DBA1167B3E8@microsoft.com...
> I agree. There is something fishy with the Cache (my post two post above
> yours). I can't figure out what's going on. You are not using
> HttpRuntime.Cache, are you?
>
> Let me do some more investigation on HttpContext.Current.Cache. It seems
to
> work there but I have a few gerneic functions located in a class lib that
are
> being executed using CallbackTimer so I need to access the
HttpRuntime.Cache.
>
> - M
>
> "MichaelY" wrote:
>
> > Among the most frequent are Cache.Insert()ions with objects that
literally
> > seem to 'dissappear'. In other words, I load up a metadata table
(DataTable)
> > into Cache. Every field on a group of web forms use this info to
control
> > rendering, display visibility, etc. However, the pattern that we end up
> > seeing is the object being removed LONG before it's expiration (15
mins), and
> > then subsequent insert()'s failing (meaning the object isn't present
after
> > the insert - like the insert said 'nope...sorry').
> >
> > I have been able to 'pin' the objects there by specifying
> > CacheItemPriority.NotRemovable, but why should I have to do this??? I
expect
> > on a machine with 4GB's of RAM (and the worker using about ~100MB) for
the
> > items to be there for a least a few minutes (maybe 15???)....and then it
> > would be nice to have other calls to Insert() work.
> >
> > On the product feedback center for MS, this issues has been reported,
but is
> > marked as "not reproducable". Seems odd, doesn't it????? Especially
when
> > others report the same problem. Have there been landslide changes in
the
> > CacheManager, or some other subsystem (HealthMonitoring maybe???) that
is now
> > chewing up heap space????
> >
> > Grrr....LoL..