delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/03/13/07:30:20

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "Giovanni Spagnuolo" <spanish AT ieee DOT org>
Newsgroups: comp.os.msdos.djgpp
Subject: new[] and delete[]
Date: Wed, 13 Mar 2002 12:21:51 +0000 (UTC)
Organization: Mailgate.ORG Server - http://www.Mailgate.ORG
Lines: 53
Message-ID: <153702b153a9656b9b4eb20c28da0d7f.76722@mygate.mailgate.org>
NNTP-Posting-Host: pc2.diiie.unisa.it
X-Trace: news.mailgate.org 1016019920 1183 193.205.164.124 (Wed Mar 13 13:21:50 2002)
X-Complaints-To: abuse AT mailgate DOT org
NNTP-Posting-Date: Wed, 13 Mar 2002 12:21:51 +0000 (UTC)
Injector-Info: news.mailgate.org; posting-host=pc2.diiie.unisa.it; posting-account=76722; posting-date=1016019920
User-Agent: Mailgate Web Server
X-URL: http://mygate.mailgate.org/mynews/comp/comp.os.msdos.djgpp/153702b153a9656b9b4eb20c28da0d7f.76722%40mygate.mailgate.org
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Dear all,
here it is the result of the analysis of my program (running under
Windows98) by mss1.2.


------------------------------------------------------------------------------
WARNING: Out of memory in call to new[] in class Coord_Mat_double 
         AssemA(const Rvect &, const Coord_Mat_double &, const 
         Coord_Mat_double &) (line 675 of vitelli_new.cc).

------------------------------------------------------------------------------


------------------------------------------------------------------------------
MSG: Listing info about allocated blocks at end(?) of program:
INFO: 37 blocks currently allocated.
INFO: 163036428 bytes of memory currently used.
INFO: 163036428 bytes maximum memory used.

Method       Times Called    Successful Calls
---------------------------------------------
new                 0                0 
new[]           21813            21812 
delete              0                0 
delete[]        21775            21775 
malloc              0                0 
xmalloc             0                0 
realloc             0                0 
xrealloc            0                0 
strdup              0                0 
calloc              0                0 
free                0                0 
cfree               0                0 
xfree               0                0 

------------------------------------------------------------------------------

As you can see, there are no memory bugs, but the maximum available
memory is about 163MB, while I have 256MB of RAM installed.
I have changed some values in the memory menu of the exe file under
Windows, but without benefits.
Suggestions I have found in the faqs seems do not give any improvement.
Could anyone help me in using more memory (physical and virtual)?

Thanks a lot in advance.

Best Regards.

G.Spagnuolo


-- 
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG

- Raw text -


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