Home All Groups Group Topic Archive Search About

3GB linker option for C# app?

Author
16 May 2006 8:48 AM
Zhenxin Li
Hello,

Is there a 3GB linker option for C# app like C++? Thanks!

Best regards,
Zhenxin Li

Author
16 May 2006 10:13 AM
Vadym Stetsyak
Hello, Zhenxin!

ZL> Is there a 3GB linker option for C# app like C++? Thanks!

IMO directly you can't.
However, there is a way
( http://www.pcreview.co.uk/forums/thread-1222673.php )
( http://www.msnewsgroups.net/group/microsoft.public.dotnet.languages.csharp/topic822.aspx )

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
Author
16 May 2006 3:10 PM
gs
what about 64 bit dotnet with c# on 64 bit windows platform?
Show quote
"Vadym Stetsyak" <vady***@ukr.net> wrote in message
news:OvzIHFNeGHA.1208@TK2MSFTNGP02.phx.gbl...
> Hello, Zhenxin!
>
> ZL> Is there a 3GB linker option for C# app like C++? Thanks!
>
> IMO directly you can't.
> However, there is a way
> ( http://www.pcreview.co.uk/forums/thread-1222673.php )
> (
> http://www.msnewsgroups.net/group/microsoft.public.dotnet.languages.csharp/topic822.aspx )
>
> --
> Regards, Vadym Stetsyak
> www: http://vadmyst.blogspot.com
Author
16 May 2006 5:04 PM
David Browne
Show quote
"gs" <gs@dontMail.telus> wrote in message
news:O4MZ4pPeGHA.5016@TK2MSFTNGP04.phx.gbl...
> what about 64 bit dotnet with c# on 64 bit windows platform?
> "Vadym Stetsyak" <vady***@ukr.net> wrote in message
> news:OvzIHFNeGHA.1208@TK2MSFTNGP02.phx.gbl...
>> Hello, Zhenxin!
>>
>> ZL> Is there a 3GB linker option for C# app like C++? Thanks!
>>
>> IMO directly you can't.
>> However, there is a way
>> ( http://www.pcreview.co.uk/forums/thread-1222673.php )
>> (
>> http://www.msnewsgroups.net/group/microsoft.public.dotnet.languages.csharp/topic822.aspx )
>>
>

If the assembly is compiled for AnyCPU or x86 then the LARGEADDRESSAWARE
flag will not be set.  You would have to set it manually to utilize more
than 2GB on 32bit Windows.

On 64bit Windows a program compiled with AnyCPU will run in a 64bit process,
and won't have this memory limitation.

David

AddThis Social Bookmark Button