473,387 Members | 1,470 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,387 software developers and data experts.

Having some informations about current ASP.NET application

Hi:
I would like to have some informations about my current ASP.NET
application:

1. Have access to all instances of HttpSessionState that belongs to my
application; Not only name or GUID, but the instance itself;
2. Have an idea of how memory my application and each session is consuming.
Can this be realized without serialization?
3. Is it effective to perform a cycle of garbage collection from times to
times in my ASP.NET application, or it's just and an extra effort that does
not makes any differences in memory consumption (while there's available
memory)?

Thanks,

--
Ravi
rwallau@_RemoveThisTextAndUnderscore...wirele ss.net
Jan 16 '06 #1
3 1091
On Mon, 16 Jan 2006 17:29:00 -0200, "Ravi Ambros Wallau"
<no****@nospam.com> wrote:
Hi:
I would like to have some informations about my current ASP.NET
application:

1. Have access to all instances of HttpSessionState that belongs to my
application; Not only name or GUID, but the instance itself;
2. Have an idea of how memory my application and each session is consuming.
Can this be realized without serialization?
3. Is it effective to perform a cycle of garbage collection from times to
times in my ASP.NET application, or it's just and an extra effort that does
not makes any differences in memory consumption (while there's available
memory)?


Hi Ravi,

You can do number 1 and 2 pretty easily with Windbg and the SOS
extension.

Regarding number 3, this is a bad idea to do indiscriminately. If you
are freeing a lot of large data structures and are under memory
pressure, calling GC.Collect is not a bad thing. However, it's not
effective to do so "from time to time."
Jim Cheshire
--
Blog:
http://blogs.msdn.com/jamesche
Jan 16 '06 #2
Thanks...
I'll try to find some docs about how to use WinDBG with SOS. SOS is an
extension for the debugger, I guess... Is it possible to access it from my
ASP.NET application? Not recomendable in a production environment, I
guess...
I'm using the Microsoft UIPAB, and I'll execute the GC.Collect()
everytime a new task is started (and the old is purged by other routine that
is executed)...
Is time-to-time a valid expression in English? (I'm Brazillian)... From
time-to-time...

"Jim Cheshire" <no****@nomail.com> wrote in message
news:qc********************************@4ax.com...
On Mon, 16 Jan 2006 17:29:00 -0200, "Ravi Ambros Wallau"
<no****@nospam.com> wrote:
Hi:
I would like to have some informations about my current ASP.NET
application:

1. Have access to all instances of HttpSessionState that belongs to my
application; Not only name or GUID, but the instance itself;
2. Have an idea of how memory my application and each session is
consuming.
Can this be realized without serialization?
3. Is it effective to perform a cycle of garbage collection from times to
times in my ASP.NET application, or it's just and an extra effort that
does
not makes any differences in memory consumption (while there's available
memory)?


Hi Ravi,

You can do number 1 and 2 pretty easily with Windbg and the SOS
extension.

Regarding number 3, this is a bad idea to do indiscriminately. If you
are freeing a lot of large data structures and are under memory
pressure, calling GC.Collect is not a bad thing. However, it's not
effective to do so "from time to time."
Jim Cheshire
--
Blog:
http://blogs.msdn.com/jamesche

Jan 16 '06 #3
On Mon, 16 Jan 2006 18:45:47 -0200, "Ravi Ambros Wallau"
<no****@nospam.com> wrote:
Thanks...
I'll try to find some docs about how to use WinDBG with SOS. SOS is an
extension for the debugger, I guess... Is it possible to access it from my
ASP.NET application? Not recomendable in a production environment, I
guess...
I'm using the Microsoft UIPAB, and I'll execute the GC.Collect()
everytime a new task is started (and the old is purged by other routine that
is executed)...
Is time-to-time a valid expression in English? (I'm Brazillian)... From
time-to-time...


Hi Ravi,

I have some documentation on using Windbg and SOS in my blog. It
should help.

There are two ways that you can use Windbg; live debugging and
post-mortem. In a production environment, live debugging is a really
bad idea because no one will be able to use your app while you're
broken into the process. In such a case, getting a hang dump and doing
post-mortem debugging is a much better choice.

Yes, time-to-time is a valid expression in English. :)

Jim Cheshire
--
Blog:
http://blogs.msdn.com/jamesche
Jan 16 '06 #4

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

Similar topics

1
by: Moreno | last post by:
Hi, I'm trying to make my first struts application and I'm fighting with authentication and roles. I've only one jsp page (index.jsp) that prints authentication type ("BASIC") and user roles....
0
by: Hermione | last post by:
Hi I want to work for a new application for the Pocket PC. I'd like to know about the following points: 1- Can I create an Access Database and transfert it to the pocket PC and access it ...
17
by: Gabriel Mejía | last post by:
Services or applications using ActiveX Data Objects (ADO) 2.0 or greater may intermittently return empty recordsets on queries that should be returning valid results. At the time the problem...
4
by: wASP | last post by:
Hi, I'm a newbie starting up with ASP.NET, and I'm getting off to a wonderful start - and when I tell you "wonderful" I'm being sarcastic. My OS is Win 2000 SP4. I've gotten IIS installed,...
1
by: Florent | last post by:
Hi all I'm developping an ASPX application with C# code behind, with Visual Studio 2003 and .NET 1.1 In my form, I have a DropDownList (filled), and an empty Table (web form), which i want to...
3
by: John Holgerson | last post by:
Hi, is it possible to get informations about the exception that occured in that method?? (global.asax) protected void Application_Error(Object sender, System.EventArgs e) { } thanks for...
6
by: Yavuz Bogazci | last post by:
Hello, the following code selects recursively the Outlook folders and shows these in a Treeview. Everything works nice. I have the following problem: I would like have a TreeNode a text and two...
4
by: Stefan | last post by:
Hi, is there a way to get informations from tabelspaces of a db2 (datafiles) via java (jdbc)? Thanx... Stefan
1
by: durumdara | last post by:
Hi ! WXP, Py2.4.3. I want to get localized informations like month names, format parameters, etc. But nl_langinfo is not exists. Have the Python a way to get these informations in...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
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...

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.