www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/22/10:08:51

From: "Javier Calleja" <dismuntel AT apdo DOT com>
To: "djgpp" <djgpp AT delorie DOT com>
Subject: not enough virtual memory using 'new'
Date: Mon, 22 Jun 1998 16:08:32 +0200
Message-ID: <01bd9de7$3d2234a0$0100a8c0@dismuntel.ctv.es>
MIME-Version: 1.0

This is a multi-part message in MIME format.

------=_NextPart_000_000B_01BD9DF8.00AB04A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Hi world:

  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=B4t it expand =
automatically the heap ?

Bye world

------=_NextPart_000_000B_01BD9DF8.00AB04A0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.71.1712.3"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>Hi world:</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>&nbsp; I am using the =
command 'new'=20
to allocate some variables in the memory. The programm is written in C++ =
and it=20
is compiled with gcc ver-2.80. But, the 'not enough memory' appears in =
the=20
screen when the program is executed.</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>&nbsp; Why? When the =
'new' action is=20
executed, doesn&acute;t it expand automatically the heap ?</FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2>Bye =
world</FONT></DIV></BODY></HTML>

------=_NextPart_000_000B_01BD9DF8.00AB04A0--

- Raw text -


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