473,385 Members | 2,269 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,385 software developers and data experts.

ASP.NET memory problem

Hi,

We are running a intranet application (.net 1.1 asp.net) on a windows 2003
server. We are having some issues that causes extreem slowdowns (like 1 min
to show one page)

This happens usally when the (W3P..something) process reaches aprox 300 MB.
The server has 515 mb ram (2.4 Ghz) and is running a mssql server 2000.
While this is not a perfekt windows 2003 shouldnt be ok for a small user
group?

Anyway. If we kill the worker process everything runs perfectly for a couple
of hours again. The system is used by aprox 2-3 person on and off. So the
server is always doing something but not at all heavy loaded.

Can we eg set the worker process to be recycled on 250 mb? Or the is memory
just the bottleneck?

Thanks for you advise
Anders Jacobsen

Nov 19 '05 #1
1 1301
515*0,6 = 309MB...

It is not a magic.. It is .NET Framework default configuration. You may change this configuration which is defined in %windir%\Microsoft.NET\Framework\%Version%\CONFIG\ machine.config. Take a look at processModel element:

<processModel enable="true" timeout="Infinite" idleTimeout="Infinite" shutdownTimeout="0:00:05" requestLimit="Infinite" requestQueueLimit="5000" restartQueueLimit="10" memoryLimit="60" webGarden="false" cpuMask="0xffffffff" userName="machine" password="AutoGenerate" logLevel="Errors" clientConnectedCheck="0:00:05" comAuthenticationLevel="Connect" comImpersonationLevel="Impersonate" responseDeadlockInterval="00:03:00" maxWorkerThreads="20" maxIoThreads="20"/>

But be careful when u are modifying this configuration...

And I think u ve some problems about optimization. My advice u to refactor your code and find out why it is requiring too much memory. There are too much essays ion the net about optimizing your code. Be careful using strings and session, cache objects. Monitor your application when your objects are removed from memory..... And lots of things u can do...
--

Thanks,
Yunus Emre ALPÖZEN
BSc, MCSD.NET

"Anders K. Jacobsen [DK]" <no**@at.all> wrote in message news:uR**************@tk2msftngp13.phx.gbl...
Hi,

We are running a intranet application (.net 1.1 asp.net) on a windows 2003
server. We are having some issues that causes extreem slowdowns (like 1 min
to show one page)

This happens usally when the (W3P..something) process reaches aprox 300 MB.
The server has 515 mb ram (2.4 Ghz) and is running a mssql server 2000.
While this is not a perfekt windows 2003 shouldnt be ok for a small user
group?

Anyway. If we kill the worker process everything runs perfectly for a couple
of hours again. The system is used by aprox 2-3 person on and off. So the
server is always doing something but not at all heavy loaded.

Can we eg set the worker process to be recycled on 250 mb? Or the is memory
just the bottleneck?

Thanks for you advise
Anders Jacobsen


Nov 19 '05 #2

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

Similar topics

0
by: Andreas Suurkuusk | last post by:
Hi, I just noticed your post in the "C# memory problem: no end for our problem?" thread. In the post you implied that I do not how the garbage collector works and that I mislead people. Since...
4
by: Amadeus | last post by:
Hello Everybody! I have a problem with MySQL servers running RedHat 9 (smp kernel 2.4.20) on Intel and MySQL server 4.0.14 (problem also appears on binary distr 4.0.15 and on 4.0.15 I bilt myself...
32
by: John | last post by:
Hi all: When I run my code, I find that the memory that the code uses keeps increasing. I have a PC with 2G RAM running Debian linux. The code consumes 1.5G memory by the time it finishes...
17
by: José Joye | last post by:
Hi, I have implemented a Service that is responsible for getting messages from a MS MQ located on a remote machine. I'm getting memory leak from time to time (???). In some situation, it is...
16
by: JCauble | last post by:
We have a large Asp.net application that is currently crashing our production servers. What we are seeing is the aspnet_wp eat up a bunch of memory and then stop unexpectedly. Does not recycle. ...
7
by: Salvador | last post by:
Hi, I am using WMI to gather information about different computers (using win2K and win 2K3), checking common classes and also WMI load balance. My application runs every 1 minute and reports...
9
by: Bruno Barberi Gnecco | last post by:
I'm using PHP to run a CLI application. It's a script run by cron that parses some HTML files (with DOM XML), and I ended up using PHP to integrate with the rest of the code that already runs the...
9
by: jeungster | last post by:
Hello, I'm trying to track down a memory issue with a C++ application that I'm working on: In a nutshell, the resident memory usage of my program continues to grow as the program runs. It...
17
by: frederic.pica | last post by:
Greets, I've some troubles getting my memory freed by python, how can I force it to release the memory ? I've tried del and gc.collect() with no success. Here is a code sample, parsing an XML...
27
by: George2 | last post by:
Hello everyone, Should I delete memory pointed by pointer a if there is bad_alloc when allocating memory in memory pointed by pointer b? I am not sure whether there will be memory leak if I do...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.