Mail Archives: djgpp/1998/07/29/13:04:39
pdm AT rnl DOT ist DOT utl DOT pt (Pedro Duarte S. Marques) wrote:
> How can I tell the compiler to reserve more memory to the execuatble.
Is not the compiler! You must have enough RAM in your system that's all.
> I' m trying to run a program that uses 10-12 megs, and when it runs it says
> "virtual memory exceded in new", or something like that.
How much memory go32-v2 report? Are you using Winblows 9x? If yes: Did you
configured the available DPMI memory in the MSDOS box properties?
> I also have stack size problems, but in this case it just dumps the registers
> , I'm using about 800 k on an array ( just to test, I tryed to allocate an
> array of 1000000 ints , and it gave the same error).
Use stubedit for it. Hey! please read the documentation and the FAQ.
Additionally: I doubt you really need to allocate huge arrays in the stack,
that's a nasty idea.
SET
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013
- Raw text -