From: "Javier Calleja" To: "djgpp" 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 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Precedence: bulk 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