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

Run ASP.NET application as LARGEADDRESSAWARE

The setup is a Windows 2003 Server (Standard) with the /4GT (/3GB)
switch turned on which should enable ~3GB of memory for user processes
and only ~1GB for windows processes.

Is it possible to make an ASP.NET application utilize the new found
memory or should the ASP.NET application be build with the
LARGEADDRESSAWARE bit turned on?

Is the CLR / IIS / aspnet_wp.exe LARGEADDRESSAWARE compatible? Is it
the parent process which determines whether the processes spawned by
this can utilize the memory in the new address space?

I hope someone has some answers to clarify this issue for me.
Thanks in advance.

Regards,
Thomas Lykke Petersen
Nov 19 '05 #1
2 4294
on 32bit machines there is 4gb of virtual address space. the default
implementation of nt is to divide the addrss space in half, 2gb for the os
2gb per user process. the /3gb switch tells the o/s to only have 1gb, thus
allowing any user process on the machine to have 3bg of virtual address
space available. no special code is required.

this is different than the AWE option which allows addressing more than 4gb
of virtual memeory, which does require special code support.

because asp.net has a lot of code checking resource limits you may run into
bugs with the /3gb switch on.

note: currently asp.net has a bug where if the machine has over 2gb of
physical memory the GC burns cpu. be sure to get the hotfix (you will need
to open a support call).

-- bruce (sqlwork.com)

"Thomas Lykke Petersen" <th*******************@gmail.com> wrote in message
news:a9**************************@posting.google.c om...
The setup is a Windows 2003 Server (Standard) with the /4GT (/3GB)
switch turned on which should enable ~3GB of memory for user processes
and only ~1GB for windows processes.

Is it possible to make an ASP.NET application utilize the new found
memory or should the ASP.NET application be build with the
LARGEADDRESSAWARE bit turned on?

Is the CLR / IIS / aspnet_wp.exe LARGEADDRESSAWARE compatible? Is it
the parent process which determines whether the processes spawned by
this can utilize the memory in the new address space?

I hope someone has some answers to clarify this issue for me.
Thanks in advance.

Regards,
Thomas Lykke Petersen

Nov 19 '05 #2
Thank you for the quick reply. Though, it didn't quite make it clear
for me whether ASP.NET would be allowed to allocate memory from the
new address space created by the /3gb switch?

"Bruce Barker" <br******************@safeco.com> wrote in message news:<uM**************@TK2MSFTNGP12.phx.gbl>...
on 32bit machines there is 4gb of virtual address space. the default
implementation of nt is to divide the addrss space in half, 2gb for the os
2gb per user process. the /3gb switch tells the o/s to only have 1gb, thus
allowing any user process on the machine to have 3bg of virtual address
space available. no special code is required.

this is different than the AWE option which allows addressing more than 4gb
of virtual memeory, which does require special code support.

because asp.net has a lot of code checking resource limits you may run into
bugs with the /3gb switch on.

note: currently asp.net has a bug where if the machine has over 2gb of
physical memory the GC burns cpu. be sure to get the hotfix (you will need
to open a support call).

-- bruce (sqlwork.com)

Nov 19 '05 #3

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

Similar topics

9
by: J. Baute | last post by:
I'm caching data in the Application object to speed up certain pages on a website The main reason is that the retrieval of this data takes quite a while (a few seconds) and fetching the same data...
3
by: Amit Dedhia | last post by:
Hi I am developing a Dot net application (involving image processing) on a uni processor. It works well on my machine. I then take all my code on a multi processor, build and run the application...
1
by: picard | last post by:
I have seen in various posts that there are tricks to increasing the largest continuous memory block available to an application on a windows machine. I want to prove this is possible using a...
6
by: orekin | last post by:
Hi There I have been trying to come to grips with Application.Run(), Application.Exit() and the Message Pump and I would really appreciate some feedback on the following questions .. There are...
20
by: Peter Oliphant | last post by:
How does one launch multiple forms in an application? Using Photoshop as an example, this application seems to be composed of many 'disjoint' forms. Yet, they all seem somewhat 'active' in...
6
by: Josef Brunner | last post by:
Hi, I published my application (VS 2005) and am now trying to install it when I get this error message. It worked before...even on a different machine. Here is the detailed description: ...
9
by: jeff | last post by:
Hi All. I realize that when my Deployed winforms application starts, Windows needs to load the .net 2 framework before control is given to my application.... Is there anyway to either ... -...
8
by: Frank Rizzo | last post by:
My .NET 2.0 app may be deployed on both 32-bit and 64-bit systems. Are there any side effects to running Editbin /LARGEADDRESSAWARE against the EXE and then deploying it on a 64-bit system? The...
2
by: Frank Rizzo | last post by:
Ok, it is easy enough to set a binary to be LARGEADDRESSAWARE. But how can I find out whether the binary has been set to LARGEADDRESSAWARE or not? Thanks.
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: 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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.