I am using such a large amount or memory since this application is copying
large mail items between public folders on a machine which is also running
exchange 2003 that is taking alone the minimum of 1GB.
But I still didn't understand how can I make use of the whole 4GB of memory.
Thank you,
Yahya
> > Dear Sirs,
> >
[quoted text clipped - 21 lines]
>
> David
Sean Hederman - 06 Apr 2005 14:27 GMT
>I am using such a large amount or memory since this application is copying
> large mail items between public folders on a machine which is also running
> exchange 2003 that is taking alone the minimum of 1GB.
How exactly is this copying being done? Can you not chunk the copy?
> But I still didn't understand how can I make use of the whole 4GB of
> memory.
You can't. To paraphrase David this would only be available on a 64-bit
machine running a 64-bit version of Windows and .NET 2.0, which has not yet
been released. The limit for standard Win32 applications is 2GB.

Signature
Sean Hederman
http://www.codingsanity.com
Jay B. Harlow [MVP - Outlook] - 06 Apr 2005 15:09 GMT
Yahya,
| But I still didn't understand how can I make use of the whole 4GB of memory.
As David, Sean, and I have stated you cannot per se until .NET 2.0 64-Bit
edition.
Depending on which server you are running, you can enable .NET 1.1 to use
3GB if your server OS supports it. For details start with "/3GB switch" at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/scal
enetchapt17.asp
| I am using such a large amount or memory since this application is copying
| large mail items between public folders on a machine which is also running
| exchange 2003 that is taking alone the minimum of 1GB.
I would review the algorithm I was using to copy the data to see if there
was one that did not require such high memory requirements. Such as reading
& writing 1M chunks at a time.
Hope this helps
Jay
|I am using such a large amount or memory since this application is copying
| large mail items between public folders on a machine which is also running
[quoted text clipped - 35 lines]
| >
| > David
Danny T - 06 Apr 2005 22:11 GMT
> Depending on which server you are running, you can enable .NET 1.1 to use
> 3GB if your server OS supports it. For details start with "/3GB switch" at:
LOL!!
Why isn't there a /4GB switch too? :)

Signature
Danny
"Chris Lyon [MSFT]" - 07 Apr 2005 19:32 GMT
The /3GB switch enables user apps to address 3GB of Virtual Memory, not use
3GB of Physical Memory. Since 32-bit machines can access a maximum of 4GB
of addresses, normally Windows allots 2GB for user processes and 2GB for
kernel processes. With /3GB mode, applications marked /LARGEMEMORYAWARE
can access 3GB worth of addresses.
Raymond Chen explains this well:
http://blogs.msdn.com/oldnewthing/search.aspx?q=3gb&p=1
As was stated above, 64-bit processes don't have this restriction.
-Chris
--------------------
| > Depending on which server you are running, you can enable .NET 1.1 to use
| > 3GB if your server OS supports it. For details start with "/3GB switch" at:
|
| LOL!!
|
| Why isn't there a /4GB switch too? :)