G
Guest
Hi all !
I have a problem. I need to use two huge variables (square matrices), 500
MBytes each. My memory is 3GB RAM and 3GB swap. 300M of them occupied by
system.
Memory for the first one allocates well, without problems. But when program
tries to allocate memory for second matrix, "Out of memory" error occurs.
But there is a great amount of free memory !!!
Can you tell me, what is the reason and how I can fix it. Is there any
VisualC 7.0 tuning, connected with memory allocation ? It's acceptably to
storage variables in the swap. Is there any compiler directive, which
specify, that variable can be moved into the swap ?
I didn't find answers in the MSDN disk documentation. May be, someone know
the title of the Articles, connected with these questions.
Thank you, and sorry for my English
I have a problem. I need to use two huge variables (square matrices), 500
MBytes each. My memory is 3GB RAM and 3GB swap. 300M of them occupied by
system.
Memory for the first one allocates well, without problems. But when program
tries to allocate memory for second matrix, "Out of memory" error occurs.
But there is a great amount of free memory !!!
Can you tell me, what is the reason and how I can fix it. Is there any
VisualC 7.0 tuning, connected with memory allocation ? It's acceptably to
storage variables in the swap. Is there any compiler directive, which
specify, that variable can be moved into the swap ?
I didn't find answers in the MSDN disk documentation. May be, someone know
the title of the Articles, connected with these questions.
Thank you, and sorry for my English