can't allocate memory even though have plenty
I have a program with not many structures that need memory allocated for, in my opinion, however, half way through code execution when I try to allocate memory for a two-dimensional array using malloc, malloc returns NULL telling me that it couldn't allocate the memory.
I have 768 MB of RAM on my system and when I run this program, there are over 380MB of RAM available. I'm not sure if there is another issue other than actual memory allocation causing this error, but it's driving me nuts! THanks for any help anyone can give me!