delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/23/05:30:13

From: "Javier Calleja" <dismuntel AT apdo DOT com>
To: "djgpp" <djgpp AT delorie DOT com>
Subject: not enough virtual memory using C++ constructor new' part II
Date: Tue, 23 Jun 1998 11:29:06 +0200
Message-ID: <01bd9e89$5e630de0$0100a8c0@dismuntel.ctv.es>
MIME-Version: 1.0

Hi world:

  Well. I'll repeat last e-mail:

    " I am using the command 'new' to allocate some variables in the memory.
The programm is written in C++ and it is compiled with gcc ver-2.80. But,
the 'not enough memory' appears in the screen when the program is executed.

  Why? When the 'new' action is executed, doesn´t it expand automatically
the heap ?"

  I have received some e-mails where it's said what go32-v2 prints when it's
invoked. The answer is :

  DPMI memory available 64711 Kb
  DPMI swap space available 130389 Kb.

  I think I have enough space to work. I am allocating only 200 Kb with the
C++ constructor, and the programm works correctly in when it's compiled in
Borland environment under Win95.

 Could someone help me? I have read in some e-mail that some people have the
same problem, but I haven't found the correct answer.

  Thanks and bye world.

                                                    Javier Calleja

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019