Hi
Since I a gree with you I posted these in the Discussion "Memory" but for others to see it here i repate it for other memebers to see.
Some old DOS programs thinks that.
DOS divided memory into five areas Conventional memory, Upper memory Area (UMA), High Memory Area (HMA), extended memory and expanded memory. DOS can access only the Conventional memory wich is up to 640kb using memeory managment software such as emm386.exe and himem.sys which comes with DOS and windows, then setting in config.sys such as device=path\himem.sys, device=emm386.exe /options (noems/RAM), DOS= HI,UMB, installhigh= , devicehigh= and using LH in autoexec.bat make it possible for DOS and other programs to use other areas of RAM.
The size of theexecutable program is not the same as how much it needs to run since it uses memory for execution code and data.
The out of memory issue could be caused by many reasons.
1. installed memory is Not enough.
Not the case since DOS programs onlyuse under 1MB
2. No installed memory management software.
Not the case since windows will handel that.
3. No enough disk storage.
?????? check your hard disk
4. No enough envirnmont varible space.
if it is the case increase it
5. Problem with the software its self.
In the 80's when PC use memory in the kb size we faced a problem with a fortran and other programs that says there were not enough memory when we have 640kb but if we decrease the memory to 256kb it was working fine, so the message was not telling what is realy happning. To solve this problem since we need more morey than the 256kb for other program somebody produced a program that make the programs think the system has only 256kb when it has more than that. to see if it is your case run Pure DOS then try your program.
6. Compatibility.
use XP Compatibility Mode
XP Compatibility Mode
http://www.microsoft.com/windowsxp/pro/using/ho