473,503 Members | 10,245 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Memory by user

Hi,

Can I have a way to calculate (+/-, of course) the space that each user,
that access my webapplication, ocupies in ASPNET process?

I want to know how much memory of ASPNET grows each time a user login in
WebApplication. Can I know that?

How?
--
Programming ASP.NET with VB.NET

Thank's (if you try to help me)
Hope can help (if I try to help)
Nov 6 '06 #1
2 993
not directly. there is memory use by request and if inproc session, use by
session. you can log memory use by page with some tacking code. flush the GC
as start request. and measure memory usage at end of request. then flusg GC
to see if the page holds any unmanged memory. the easiest way to estitmate
memory usage in session, is at start of request, binary serialize session to
a bit array and log size.

-- bruce (sqlwork.com)
"ruca" <ru********@eloinformatica.ptwrote in message
news:ep**************@TK2MSFTNGP04.phx.gbl...
Hi,

Can I have a way to calculate (+/-, of course) the space that each user,
that access my webapplication, ocupies in ASPNET process?

I want to know how much memory of ASPNET grows each time a user login in
WebApplication. Can I know that?

How?
--
Programming ASP.NET with VB.NET

Thank's (if you try to help me)
Hope can help (if I try to help)


Nov 6 '06 #2
ruca wrote:
Can I have a way to calculate (+/-, of course) the space that each
user, that access my webapplication, ocupies in ASPNET process?

I want to know how much memory of ASPNET grows each time a user login
in WebApplication. Can I know that?
Well, if you use aspnet_state.exe as the out-of-process state server, /its/
memory usage goes up by a minimum of 4KB per user with the apps I've checked
it with. If you were storing more data in the Application or Session state
bags then it would be more per user. If you were storing nothing in a state
bag it might be less, possibly zero. You'll have to test with your
application.

(I take it you have found you can view additional columns, e.g. memory size,
in Windows Task Manager.)

Andrew
Nov 6 '06 #3

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

Similar topics

2
6872
by: shyamal | last post by:
I want to display memory content using C++ on LINUX. For example, the user may ask to display 256 bytes from 0x1000ff00. The problem is , if any location is invalid, the program will coredump...
1
1694
by: Antar | last post by:
Hi, I'm kind of a newbie on DB management but I have to deal with a huge DB used for real time operations. I got a temporal table where current data is stored to work with frecuently, and then a...
7
4955
by: Jon Trickey | last post by:
We migrated to 8.1 from 7.2 this weekend. Everything ran ok over the weekend, but we have a light user load then (about 200 users.) Today when we had close to 600 users connecting and running...
16
2369
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. ...
13
6122
by: hurry | last post by:
In order to avoid declaring static variables in a function I was asked to write a scratch memory. Reserve a block of memory outside the function and assigning pointers to the memory locations as...
26
3022
by: Bill Reid | last post by:
Bear with me, as I am not a "professional" programmer, but I was working on part of program that reads parts of four text files into a buffer which I re-allocate the size as I read each file. I...
9
2450
by: Sundar | last post by:
Hi, i am trying to make an application that will require registering of quite a few dlls and execute. Now one of the first bottlenecks that my mentor refused is allocation of memory or the usage...
17
8449
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...
6
5553
by: nmehring | last post by:
I have an MFC app with 2000 users. I have one user that experiences a crash in our software anywhere from 1 to 5 times a week when opening a particular module. No other users have reported this...
17
7930
by: Cesar | last post by:
Hello people. I'm having a Winform app that contains a webbrowser control that keeps navigating from one page to another permanentrly to make some tests. The problem I'm having is that after a...
0
7193
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
7067
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
7316
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...
1
6975
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7449
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5562
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3160
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1495
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.