473,406 Members | 2,698 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,406 software developers and data experts.

Memory Organization

I see in many Internet sources that all 32-bit systems are having
limitations and can't address above 2 GB limit for the user application
reserving 2 GB more for the system. There are some tricks to expand the user
space like this:

http://blogs.technet.com/marcelofart...hat-basic.aspx

and this:

http://www.microsoft.com/whdc/system...AE/pae_os.mspx

There are other articles like this:

http://www.oreillynet.com/windows/bl...s_2gb_cac.html

telling that this 2 GB limit is per application and each application can use
2 GB is started in a separate application process.

Well, what about .NET applications? If we wrote the ASPX web application and
the same application can be started from different Virtual Directories on
the same Windows 2000 Advanced Server? Some of these Virtual Directories are
configured to be started in a Isolated Mode. What's happening in this case?
All these apps are .NET 1.1 applications. Does that mean that .NET using by
each application is using its separate .NET instance in memory with the
appropriate address space? Or .NET is the only one instance in the system
and all NET apps are dependent and use only one address space? I guess I
don't understand something.

The server is configured to use /PAE. We also tried /3GB. The RAM is not an
issue, it's more than enough. But anyway we're getting some troubles getting
System.OutOfMemory exception. The Task Manager shows that aspnet_wp.exe
takes 700-800 MB, not higher. Is there some other limit that we're not aware
about? Yes, the app uses RAM to store the user's data, it works with the
database via ADO.NET. MS SQL Server 2000 is isolated.

What else can be done to avoid this System.OutOfMemory exception except
migrating to Win64 system?

Just D.
Jul 5 '07 #1
8 1454
with win2000 and asp.net 1.1 there is one worker processes running all
asp.net applications. if you upgrade to 2003 & asp.net 2.0, you can have
a worker process (pool) for each application.

if you run 2000/asp.net with the /3gb switch, you must also update the
machine config to use the extra memory. be sure sure to get all service
packs. you should dedicate the machine to asp.net and not run anything
else, or the OS may run out of memory (it still needs to alloc page
descripters for all allocated pages).
-- bruce (sqlwork.com)



Just D. wrote:
I see in many Internet sources that all 32-bit systems are having
limitations and can't address above 2 GB limit for the user application
reserving 2 GB more for the system. There are some tricks to expand the user
space like this:

http://blogs.technet.com/marcelofart...hat-basic.aspx

and this:

http://www.microsoft.com/whdc/system...AE/pae_os.mspx

There are other articles like this:

http://www.oreillynet.com/windows/bl...s_2gb_cac.html

telling that this 2 GB limit is per application and each application can use
2 GB is started in a separate application process.

Well, what about .NET applications? If we wrote the ASPX web application and
the same application can be started from different Virtual Directories on
the same Windows 2000 Advanced Server? Some of these Virtual Directories are
configured to be started in a Isolated Mode. What's happening in this case?
All these apps are .NET 1.1 applications. Does that mean that .NET using by
each application is using its separate .NET instance in memory with the
appropriate address space? Or .NET is the only one instance in the system
and all NET apps are dependent and use only one address space? I guess I
don't understand something.

The server is configured to use /PAE. We also tried /3GB. The RAM is not an
issue, it's more than enough. But anyway we're getting some troubles getting
System.OutOfMemory exception. The Task Manager shows that aspnet_wp.exe
takes 700-800 MB, not higher. Is there some other limit that we're not aware
about? Yes, the app uses RAM to store the user's data, it works with the
database via ADO.NET. MS SQL Server 2000 is isolated.

What else can be done to avoid this System.OutOfMemory exception except
migrating to Win64 system?

Just D.

Jul 5 '07 #2
"bruce barker"
with win2000 and asp.net 1.1 there is one worker processes running all
asp.net applications. if you upgrade to 2003 & asp.net 2.0, you can have a
worker process (pool) for each application.

if you run 2000/asp.net with the /3gb switch, you must also update the
machine config to use the extra memory. be sure sure to get all service
packs. you should dedicate the machine to asp.net and not run anything
else, or the OS may run out of memory (it still needs to alloc page
descripters for all allocated pages).
-- bruce (sqlwork.com)
Bruce,

Thanks for your answer.

Yes, we're using 32-bit Windows 2000 Advanced Server with all service packs
installed. I guess there is a big difference between just Win2000 and
Win2000 Advanced Server, but maybe I'm wrong. Could you confirm please that
there is one worker process running all .NET 1.1 applications including Web
Services and Web Apps? Maybe you know some web links to read about this
particular case?

Just D.
Jul 5 '07 #3
"Just D." <no@spam.pleasewrote in message
news:us**************@TK2MSFTNGP05.phx.gbl...
Yes, we're using 32-bit Windows 2000 Advanced Server with all service
packs installed.
Just as an aside, you do know that mainstream support for Win2k ended over
two years ago, don't you...?
http://support.microsoft.com/lifecyc...ilter=FilterNO
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jul 5 '07 #4
"Mark Rae [MVP]"
>Yes, we're using 32-bit Windows 2000 Advanced Server with all service
packs installed.

Just as an aside, you do know that mainstream support for Win2k ended over
two years ago, don't you...?
http://support.microsoft.com/lifecyc...ilter=FilterNO
Mark, what about Extended Support Retired? The date is 7/13/2010.

Just D.
Jul 5 '07 #5
"Just D." <no@spam.pleasewrote in message
news:u5**************@TK2MSFTNGP05.phx.gbl...
Mark, what about Extended Support Retired? The date is 7/13/2010.
You got plenty of cash, then...?
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jul 5 '07 #6
"Mark Rae [MVP]"
>Mark, what about Extended Support Retired? The date is 7/13/2010.

You got plenty of cash, then...?
Not sure if it works in this case, but our company is official MS partner.
We receive CD/DVD from MS on the regular basis.

Just D.
Jul 6 '07 #7
On Jul 5, 11:08 pm, bruce barker <nos...@nospam.comwrote:
with win2000 and asp.net 1.1 there is one worker processes running all
asp.net applications. if you upgrade to 2003 & asp.net 2.0, you can have
a worker process (pool) for each application.

if you run 2000/asp.net with the /3gb switch, you must also update the
machine config to use the extra memory. be sure sure to get all service
packs. you should dedicate the machine to asp.net and not run anything
else, or the OS may run out of memory (it still needs to alloc page
descripters for all allocated pages).

-- bruce (sqlwork.com)
Hi Bruce,

Just a quick correction here - the move to 2003, to gain application
pools with separate worker processes does not require the
corresponding move to 2.0. You can happily run multiple 1.1 apps in
separate application pools. It's the setup I've got here.

(Course, the above isn't really on topic for the OPs question, for
which I apologise)

Damien

Jul 6 '07 #8
"Just D." <no@spam.pleasewrote in message
news:ua**************@TK2MSFTNGP02.phx.gbl...
"Mark Rae [MVP]"
>>Mark, what about Extended Support Retired? The date is 7/13/2010.

You got plenty of cash, then...?

Not sure if it works in this case, but our company is official MS partner.
That will not give you Extended Support...
We receive CD/DVD from MS on the regular basis.
LOL! Of course you do :-) But you still don't get Extended Support on
products where mainstream support has been retired.

As it stands, unless you have specifically purchased Extended Support for
Win2k, you're running on a totally unsupported platform...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jul 6 '07 #9

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

Similar topics

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...
20
by: iouswuoibev | last post by:
When writing a function that manipulates data (for example, a string), is it in principle a good or bad idea to allocate/deallocate memory within that function? For example, I have the following...
1
by: Jeremy Cowles | last post by:
Is it possible to pass an instance of a standard C++ class into managed memory and use it (MC++/C#/VB/J#)? I guess I am still foggy on the whole concept of Managed C++. TIA, Jeremy
15
by: Chetan Raj | last post by:
Hi All, We have a web-application in asp.net that interacts with legacy code written in COM. The memory usage in aspnet_wp.exe increases every sec and never reduces. Using the .NET performance...
0
by: mrwilsondg | last post by:
Hi Guys! I am newbie to MS-SQL Server and I’ve run into a very very serious trouble. My company/organization that I am currently with is running MS-SQL Server 2000 Standard and our problem is: ...
53
by: fdmfdmfdm | last post by:
This is an interview question and I gave out my answer here, could you please check for me? Q. What are the memory allocation for static variable in a function, an automatic variable and global...
3
by: sulekha | last post by:
Hi all, I was reading the book "Write Great Code vol 1" by Ryndall hyde in this book chapter 11 is named as Memory architecture & Organization. in this chapter there is a section named "Run time...
14
by: vivek | last post by:
i have some doubts on dynamic memory allocation and stacks and heaps where is the dynamic memory allocation used? in function calls there are some counters like "i" in the below function. Is...
5
by: Ian Boyd | last post by:
Customer is running a load test against a websphere application that uses DB2. While the load test is running the memory usage of DB2 climbs from x up to y. When the load test ends, the memory...
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
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
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...
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...
0
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
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...

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.