Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Maximum Cache Size

0 views
Skip to first unread message

WebDevHokie

unread,
Aug 20, 2003, 4:55:17 PM8/20/03
to
I am trying to find out what the max size of the .NET cache can be. Is
there a limit? Does it stop after there is no more available memory? Any
input is greatly appreciated! Thanks!

WebDevHokie


Teemu Keiski

unread,
Aug 31, 2003, 10:30:58 AM8/31/03
to
I think it doesn't have any specific limit itself, but rather important is
the memoryLimit setting in configuration files (<processModel> element) that
controls how much memory as percentage of total memory can be consumed
before the app is restarted as this will clear the cache as well.

Anyway this isn't so straightforward and this can be somewhat controlled by
when adding an item to the cache using Cache.Insert you can specify
CacheItemPriority enum value for the priority of the item. When server runs
on low memory, items with lower priority are more likely to be removed to
free memory.

--
Teemu Keiski
MCP, Designer/Developer
Mansoft tietotekniikka Oy
http://www.mansoft.fi

AspInsiders Member, www.aspinsiders.com
ASP.NET Forums Moderator, www.asp.net
AspAlliance Columnist, www.aspalliance.com

"WebDevHokie" <mwit...@rkeng.com> wrote in message
news:O8Hqs11Z...@tk2msftngp13.phx.gbl...

0 new messages