PDA

View Full Version : Fatal Error 301: Out of Memory



TheBeast73
- 2nd December 2006, 03:36
I'm getting the fatal error 301: out of memory when i try to compile and don't know how to fix it.
The program was compiling fine 5 minutes prior. I read somewhere to use a DOS shell, and i'm an idiot and don't know what to do. Please help, insults welcome, as long as it comes with advice.

Archangel
- 2nd December 2006, 04:26
Hello Mr Beast,
Which version of windows are you runnig? This manner of error usually occurs when 2 programs attempt to use the same place in memory. I would reboot and shut down any programs I didn't need to have open, use Control alt delete to see whats running and shut them down. If this persists check to make sure swap file is enabled, let windows manage it, I. E. virtual memory. These recommendations are for win 95/98 and Misrable Edition, if you have XP sorry I have no answer.
JS
edit: I just read Melanies post about pm.txt http://www.picbasic.co.uk/forum/showthread.php?t=555
read below:

301 Out of Memory

Indicates that the symbol table, macro table and other memory requirements
for internal bookkeeping have exceeded the memory capacity of your PC.
While this error message is unlikely, it can occur on limited or heavily
burdened systems. If not already at the 640K limit for conventional memory,
add memory. Unloading or loading high of TSRs and network drivers can
increase usable memory. Memory may also be gained by reducing the number of
BUFFERS and FILES allocated in CONFIG.SYS.

HenrikOlsson
- 2nd December 2006, 07:19
Hi,
Try compiling with PBPW instead of PBP. If I'm not mistaken that should take care of it.

/Henrik Olsson.

TheBeast73
- 3rd December 2006, 01:05
Thanks folks