473,385 Members | 1,907 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.

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 853
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
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
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
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
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
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
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
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
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
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
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
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...

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.