473,322 Members | 1,401 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

memoryLimit limations

Hi,

I've some web servers running ASP.Net and getting hundreds of thousands of
request a day each. These boxes are dual PIII 1GHz with 1GB RAM and running
Windows 2000/IIS5/.Net 1.1 (previously 1.0).

The problem is that the ASP.Net "Cache" class begins scavenging when the
total physical memory usage on the server gets over 75%, even when setting
the memoryLimit parameter to 80, 90 or 100%. I monitor the scavening thanks
to the callback methods.

My boxes run only IIS, so the only processes using memory are the system,
aspnet_wp.exe and inetinfo.exe (this later using only about 25 MB of RAM,
because my application uses only dynamic content).

To resume, aspnet_wp.exe uses a most 600MB of physical RAM (about 200 MB
being used by the few other processes and the system), wasting 200 MB of
physical RAM which are always free (according to the performance counters
and the task manager), which is a waste of performance and money.

It seems that any value greater than 60% is equivalent to 60% for the
memoryLimit parameter of the machine.config file. On the other hand, smaller
values works well.

The problem exists as well with 512 MB of total RAM and/or with the
framework 1.0.
If anybody has some information on how to tell aspnet to use the available
memory efficiently...
Nov 18 '05 #1
0 752

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

25
by: Zeng | last post by:
I finally narrowed down my code to this situation, quite a few (not all) of my CMyClass objects got hold up after each run of this function via the simple webpage that shows NumberEd editbox. My...
5
by: benjamin | last post by:
ÄãºÃ£¬ÎÒµÄÍøÕ¾ÊÇÓÃ.net framework¿ò¼Ü×öµÄ¡£µ±·ÃÎÊÁ¿´óµ½Ò»¶¨³Ì¶Èʱ£¬ÔÚ·ÃÎÊÒ³Ãæ ¾Í±¨´íÎó¡£ ±¨´íÎóʱ£º 1¡¢cpuÕý³£ 2¡¢ÄÚ´æÕý³£ 3¡¢Êý¾Ý¿âÕý³£ 4¡¢ÆäËüasp or htmÒ³Ã涼Õý³£¡£ËùÓеÄaspxÒ³Ã汨´í¡£ ...
6
by: Christoph Schuster | last post by:
Hi ! We have a Liveserver running with ASP.NET 1.1.4322.0, whicht get a error after 3-5 days running: Source: ASP.NET 1.1.4322.0 Event ID: 1088 Description: Failed to execute request...
6
by: Stan | last post by:
There was a number of postings about aspnet_wp worker process taking too much memory and eventually choking the webserver. One issue is still not clear to me - how can I narrow it down to an...
3
by: Andrew Jocelyn | last post by:
Hi I have a simple ASP.NET web page with a single label control: <%@ Page Language="vb" AutoEventWireup="false" Codebehind="default.aspx.vb" Inherits="proj.TheTime" EnableViewState="false"...
16
by: Lacka | last post by:
Hi, How can I transfer files via FTP under asp.net? Don't found any info... thanks, Lacka
22
by: Zen | last post by:
Hi, My production machine has 2G of memory, when aspnet_wp.exe goes up to about ~1.2G of memory usage, I start get out-of-memory exception. Other processes don't use as much memory and I added...
28
by: Jon Davis | last post by:
We're looking at running a memory-intensive process for a web site as a Windows service in isolation of IIS because IIS refuses to consume all of the available physical RAM. Considering remoting to...
4
by: Erwin Moller | last post by:
Hi group, I have an annoying "Out of memory" problem I cannot solve. Here is the error: Fatal error: Out of memory (allocated 2028994560) (tried to allocate 35 bytes) in C:\Program...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.