From: InputIO on
Hy guys!

i have a server with windows server 2003 ent. x64 Sp2 with 4Gbyte RAM
installed and have read that exist a option called "/LARGEADDRESSAWARE" that
can use for improve the memory allocation for my application.

The question is : how i can enable this option ? In boot.ini as the /3G on
x86?

Thanks in advance.

From: Theo on
Unless I am mis-interpreting something, your information is
not entirely correct.

If you go to www.microsft.com and enter 'LARGEADDRESSAWARE'
in the search box you will be given links to information
indicating this is a programming option for the linker at
compile time.


InputIO wrote:
> Hy guys!
>
> i have a server with windows server 2003 ent. x64 Sp2 with 4Gbyte RAM
> installed and have read that exist a option called "/LARGEADDRESSAWARE"
> that can use for improve the memory allocation for my application.
>
> The question is : how i can enable this option ? In boot.ini as the /3G
> on x86?
>
> Thanks in advance.
>
From: InputIO on
Hi Theo,

thanks for your reply !

I try to read some KB Articles but not understand how to enable the
"LARGEADDRESSAWARE" option.

The question is : i need edit a boot.ini file and add /LARGEADDRESSAWARE
after the sting multi(0)disk(0)rdisk(0).... ?!!?!?!

Thanks in advance.




"Theo" <theo(a)discussions.microsoft.com> ha scritto nel messaggio
news:Ob3rmTiTIHA.4272(a)TK2MSFTNGP06.phx.gbl...
> Unless I am mis-interpreting something, your information is not entirely
> correct.
>
> If you go to www.microsft.com and enter 'LARGEADDRESSAWARE' in the search
> box you will be given links to information indicating this is a
> programming option for the linker at compile time.
>
>
> InputIO wrote:
>> Hy guys!
>>
>> i have a server with windows server 2003 ent. x64 Sp2 with 4Gbyte RAM
>> installed and have read that exist a option called "/LARGEADDRESSAWARE"
>> that can use for improve the memory allocation for my application.
>>
>> The question is : how i can enable this option ? In boot.ini as the /3G
>> on x86?
>>
>> Thanks in advance.
>>

From: Carlos on
Hi,
LARGEADDRESSWARE is not an option (or switch) in BOOT.INI
As Theo mentioned, it is used along with the compiler, it doesn't have
anything to do with W2K3.

More info can be found
http://blogs.msdn.com/oldnewthing/archive/2004/08/12/213468.aspx
http://www.eggheadcafe.com/community/aspnet/2/81127/largeaddressaware-issue.aspx
and elsewhere on the web by googling "LARGEADDRESSWARE switch compiler"

Carlos
"InputIO" wrote:

> Hi Theo,
>
> thanks for your reply !
>
> I try to read some KB Articles but not understand how to enable the
> "LARGEADDRESSAWARE" option.
>
> The question is : i need edit a boot.ini file and add /LARGEADDRESSAWARE
> after the sting multi(0)disk(0)rdisk(0).... ?!!?!?!
>
> Thanks in advance.
>
>
>
>
> "Theo" <theo(a)discussions.microsoft.com> ha scritto nel messaggio
> news:Ob3rmTiTIHA.4272(a)TK2MSFTNGP06.phx.gbl...
> > Unless I am mis-interpreting something, your information is not entirely
> > correct.
> >
> > If you go to www.microsft.com and enter 'LARGEADDRESSAWARE' in the search
> > box you will be given links to information indicating this is a
> > programming option for the linker at compile time.
> >
> >
> > InputIO wrote:
> >> Hy guys!
> >>
> >> i have a server with windows server 2003 ent. x64 Sp2 with 4Gbyte RAM
> >> installed and have read that exist a option called "/LARGEADDRESSAWARE"
> >> that can use for improve the memory allocation for my application.
> >>
> >> The question is : how i can enable this option ? In boot.ini as the /3G
> >> on x86?
> >>
> >> Thanks in advance.
> >>
>
>
From: jorgen on
InputIO wrote:
> Hy guys!
>
> i have a server with windows server 2003 ent. x64 Sp2 with 4Gbyte RAM
> installed and have read that exist a option called "/LARGEADDRESSAWARE"
> that can use for improve the memory allocation for my application.

First: it is only used with 32-bit programs.

editbin is one tool that can set the flag. It comes with visual studio.

> The question is : how i can enable this option ? In boot.ini as the /3G
> on x86?

That option is for 32-bit Windows only. In 64-bit the application
automatically gets 4GB of virtual address space when the
LARGEADDRESSAWARE flag is set in the image header