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

  • SEARCH
  • Home
  • 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 5840049
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T11:40:55+00:00 2026-05-22T11:40:55+00:00

I’ve an application where we store datasets in HttpRuntime.Cache for Select operations ONLY (alltogether

  • 0

I’ve an application where we store datasets in HttpRuntime.Cache for Select operations ONLY (alltogether ~20MB of data if the dataset is saved as xml).

We migrated to a new Windows 2008 server x64, where IIS site based Output caching was enabled.
Our application pool is set to x64 mode as well.
All went well, the application was running with some serious load and about ~ 2GB of memory usage.

With no changes to the application, and no additional traffic, the application started to eat up all memory on the server, that is currently 7GB.

I’ve tried to disable Output caching, but it didn’t help at all. The only way to deal with the problem is to recycle the application pool, but this solution results in the loss of all user sessions.

In my understanding, HttpRuntime.Cache items are global for the application pool.
We’re only Inserting the items to the Cache on the Application Load event, so there should be no changes whatsoever to the cache items.

With disabled output caching and no additional inserts to the Cache, what could cause the unexpected memory growth?

  • 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-22T11:40:56+00:00Added an answer on May 22, 2026 at 11:40 am

    This sounds like a problem with the Large Objects Heap. Since version 1.0 .NET Garbage collector is notorious for failing to collect large objects from memory. The situation has improved with .net versions but especially on high-load servers there are still problems.
    Check out these articles to get acquainted with the problem:

    http://msdn.microsoft.com/en-us/magazine/cc534993.aspx
    http://www.simple-talk.com/dotnet/.net-framework/the-dangers-of-the-large-object-heap/
    http://www.alexatnet.com/content/net-memory-management-and-garbage-collector

    You can also try to profile the application memory on your development server to see if the problem will appear there.

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

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want use html5's new tag to play a wav file (currently only supported
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
We are using XSLT to translate a RIXML file to XML. Our RIXML contains
I want to construct a data frame in an Rcpp function, but when I
I have a reasonable size flat file database of text documents mostly saved in
I'm parsing an XML file, the creators of it stuck in a bunch social
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm working with an upstream system that sometimes sends me text destined for HTML/XML
I have some data like this: 1 2 3 4 5 9 2 6

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.