|
|
back to boardCommon BoardMemory allocation problems... Posted by Nix! 21 Nov 2000 19:08 I am trying to solve superlong sums.Can you tell me why does the following code work when the body of the program is empty, but not when I use the 2 500k arrays with my program. I get memory limit exceded. Why I try to use only one meg and why does that happen only when there is actual program (it happens at 0.7 secs).I want to know because I don't have any kind of dynamic allocation.Also why empty pascal programs start at 200k does that mean that the limit for pascal solutions is only 800k? type Tarr = array [0..500000 - 1] of byte; var A, B : Tarr; begin end. Re: Memory allocation problems... Use C++. |
|
|