80% of your total memory is a lot. By default, asp.net tries to limits
itself to 60% of the total available memory. I doubt that you'd want it to
go anymore than 80%...the O/S still needs to run, and the last thing you
want is any high amount of paging to the hdd.
You can specify a priority for your cache, but .NET generally knows better
how to manage memory than you do.
You can load up perfmon and look at some performance monitors, cache hits,
memory size.
You can get a memory profile and try to use up less than 800megs
(
http://www.red-gate.com/products/ant...iler/index.htm)
You can play with your machine.config's processModel section and increase
the maximum memory limit
Karl
--
http://www.openmymind.net/
http://www.codebetter.com/
"SCG" <> wrote in message
news:ei$...
> Hi,
>
> [sorry if this sounds familiar but just want ot be sure]
>
> I have had a site running for 6 months now. This morning I started
> observing
> the following behaviour pretty much out of the blue:
>
> I load a blob of XML into the ASP.NET cache with a timeout of 15 mins, and
> a
> callback set up to log the unload of the data.
>
> Immediately (the same second), my callback gets driven with a reason code
> of
> "Underused", which implies that ASP.NET is feeling memory-challenged.
>
> But, Task Manager suggests that only 800Mb is being used out of 1Gb, and
> nothing else (SQl Server etc.) seems to have reserved the extra 200Mb
> memory.
>
> Why is ASP.NET immediately throwing out my newly cached 200 bytes of data?
>
> Is there any other setting I could be tweaking / monitoring to help tell
> me
> why?
>
> Thanks for any help.
>
>