Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 773795
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T19:01:24+00:00 2026-05-14T19:01:24+00:00

When adding items using the default insert method Insert(key, value) and as such using

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T19:01:24+00:00Added an answer on May 14, 2026 at 7:01 pm

    The short answer is that the cache begins to scavenge at Cache.EffectivePrivateBytesLimit.

    The default limit is calculated using a number of factors, and generally should keep your process from excessive recycling. Ideally an application won’t be affected by a recycle, but I realize there are many reasons why that isn’t always possible. If needed, you should be able to set memory limits for the cache in coordination with the app pool recycle settings.

    Thomas Marquardt from the asp.net team wrote a very interesting post explaining the details.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm adding a series of buttons to a UINavigationBar using: NSArray *items; items =
I'm adding items to a StringDictionary and it's possible that a duplicate key will
I am using RenderTargetBitmap.Render(panel) to take a snap of an items panel. However I
I found an efficient code for adding unique items using the below approach: int[]
I am using ZedGraph to create a pie chart, and adding items to it
I'm adding fragment menu items using the onCreateOptionsMenu successfully... @Override public void onCreateOptionsMenu(Menu menu,
Im adding items to TreeView control via ItemsSource property and ItemTemplate property to set
so I have a problem with dynamically adding items to menuStrip. I mean I
In my Phonegap android application dynamically adding list items to jqm listview where on
As a simple example, I'm adding 5 items to a new RabbitMQ(v 2.6.1) queue:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.