Re: allocating gobs of memory to my program

2011-06-16 Thread Jose Armando Garcia
On Thu, Jun 16, 2011 at 10:20 PM, Charles McAnany 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, basic

Re: allocating gobs of memory to my program

2011-06-16 Thread Charles McAnany
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 cod

Re: allocating gobs of memory to my program

2011-06-16 Thread David Nadlinger
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

allocating gobs of memory to my program

2011-06-16 Thread Charles McAnany
Hi, all. I'm back! I've got an enormous array that I need to store, preferably in RAM. (It's iterated a bunch.) I have 16 Gb on my machine, and at any time, about 12 Gb is free. I'd like to be able to use about 10 Gb for this program. But when I try to use more than about 800 Mb, I get "Memory allo