HttpRuntime.Cache scavenging default behavior?

Posted by Rire1979 on Stack Overflow See other posts from Stack Overflow or by Rire1979
Published on 2010-04-27T20:43:14Z Indexed on 2010/05/05 7:38 UTC
Read the original article Hit count: 828

Filed under:
|
|

When adding items using the default insert method Insert(key, value) and as such using the default behavior of HttpRuntime.Cache, when does the scavenging take place?

The limit on the application pool that hosts my application is 0 (unlimited)... but I see no way to find out how big the cache can get before scavenging occurs? The problem is I am caching a potentially very large amount of data but I have limited memory on the server and I want to avoid recycling of the app pool.

I am asking in the context of IIS6 and IIS7.

Thank you.

© Stack Overflow or respective owner

Related posts about iis6

Related posts about iis7