Mail Archives: djgpp/1998/06/16/22:16:38
>If I start the DOS-box an only try to compile hello.c in directory
>samples I get after about 30 seconds the "... not enought virtual memory
>.." message. I tried to increase the DPMI size to 65535 but it didn't
>work. 'mem' tells me
>
>655360 Bytes for DOS
>537168 Bytes for executable
>4194304 Bytes for EMS
>15570944 Bytes for XMS
>
>I read that many other people have had also problems with virtual
>memory. Why it can't be changed ??
I got Virtual Memory problems when I tried to compile something that I later
found out was including a file that included the original file, thus generating
infinite code...
I don't see how that could be a problem with a simple hello.c but when I did
this it took about 30 seconds for the messages to show up.
I don't know how much this will help but adding a -v to GCC will cause it to
display each of the subprograms that the compiler is using and then you can see
exactly which program it runs out of memory on.
-Seth Kingsley
- Raw text -