473,803 Members | 1,992 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Run ASP.NET application as LARGEADDRESSAWA RE

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
LARGEADDRESSAWA RE bit turned on?

Is the CLR / IIS / aspnet_wp.exe LARGEADDRESSAWA RE 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 4336
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.c om> wrote in message
news:a9******** *************** ***@posting.goo gle.com...
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
LARGEADDRESSAWA RE bit turned on?

Is the CLR / IIS / aspnet_wp.exe LARGEADDRESSAWA RE 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.c om> wrote in message news:<uM******* *******@TK2MSFT NGP12.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
3293
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 from the "cache" hardly takes any time A basic pattern used to get the data from disk, or from cache is this data = getDataFromCache("mydata" if data = "" the data = getDataFromDisk( storeDataInCache(data, "mydata" end i
3
3154
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 there. There is performance degradation. The usual performance of the application on MP machine is better than that of uni processor machine. But the performance of MP degrades when it comes to the multi-threaded part of the application. I am...
1
2436
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 simple example. Here is my configuration. -I am running vc++ 6.0 on winXP. (Came with book Starting with Visual C++ by Wright) -I have the 3GB switch set at run time
6
20088
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 quite a few words in this post but the questions are actually quite similar and should be fairly quick to answer ... (1) What is Happening with the Threads
20
2725
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 contrast to one of them always being 'modal' (e.g., if you are moving over a picture the 'Info' form will update the (x,y) screen location in realtime even if not the selected form. Also note that this example implies the various forms can communicate...
6
25078
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: PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42
9
2993
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 ... - preload the .net 2 framework (windows startup or whatever) - splash a screen ... application loading ... please wait ... type of
8
22069
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 reason I ask is that there is just one setup and the .EXE will be converted to be LARGEADDRESSAWARE at setup creation time. Thanks.
2
4922
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.
0
9699
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9562
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10068
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7600
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6840
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5496
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5625
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4274
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 we have to send another system
3
2968
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.