3
I am trying to run a memory intensive program which requires more than 4 GB memory. I am running it on a 64 bit processor, and I have 16 GB RAM (which is also visible to me). But the program crashes. So I am unable to use more than 4GB for one process on a 64bit processor. How do I solve this problem?
Edit: The thing is the processor is 64 bit and the OS supports a 64 bit processor. And I am trying to run C code which requires lots of memory as it's a video processing code. But it crashes when the memory required goes above 4 GB, even though 16 GB RAM is visible.
The operating system is Windows Server 2003.
2Which operating system? Which compiler? – Harriv – 2009-11-12T12:33:00.503
3More details please, are you writing 32-bit or 64-bit app? 32-bit or 64-bit OS? – Artelius – 2009-11-12T12:33:18.287
1If you don't want to get this migrated to Super User, edit your question to make it clear that you're developing an application – ChrisF – 2009-11-12T12:37:29.417
I once had a software (Macromedia Fontographer, last version) that immediately crashed after starting, as soon as the PC (windows) had more than 1 GB of RAM. – Martin – 2009-11-12T12:54:33.670
Why do these questions end up on SU like this? Can't anybody edit them properly before migrating them? This whole question is a mess, frankly. – alex – 2009-11-12T13:00:12.870
To whomever cleaned up this question thread, thank you! – alex – 2009-11-12T13:02:47.330
No problem. I just deleted all the answers that should have been comments. Not much more that can be done. – BinaryMisfit – 2009-11-12T13:16:36.147
Is this an off-the-shelf application you are using, and if so, tell us. Is this a program you are writing yourself? If so, you probably have a bug in your code, like using a 32-bit datatype somewhere you should be using a 64-bit datatype. – davr – 2009-11-12T17:28:44.313