allocating gobs of memory to my program

Jose Armando Garcia jsancio at gmail.com
Thu Jun 16 18:29:53 PDT 2011


On Thu, Jun 16, 2011 at 10:20 PM, Charles McAnany
<mcanance at rose-hulman.edu> wrote:
> Hm. I'm not too good on architecture - does that mean it's impossible for an x32 program to have access to more memory?
> Is there, maybe, an x64 C library that I could use to abstract the memory out (Just a huge array wrapper, basically)? Or, that failing, does GCC automatically generate x64 code on an x64 machine? I could probably write the procedure in C... but yuck.
>
> David Nadlinger Wrote:
>
>> On 6/17/11 12:32 AM, Charles McAnany wrote:
>> > Win7 x64, Intel I7 @4.4 GHz, compiling with dmd -O -release -inline.
>>
>> Regardless whether you are running on x86 or x86_64, DMD is only able to
>> create 32 bit binaries on Windows.
>>
>> David
>

I don't know why you can't allocate more than 800mb but if you want to
get around this by caching in other processes' memory then I can
recommend memcache: http://memcached.org/


More information about the Digitalmars-d-learn mailing list