🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #1803

Re: Borland and Memory

#1803
From: mitchel n duitz
Date: Tue, 15 Dec 1992 14:42
19 lines
1109 bytes
I seem to have a point in my code, where I am stuck.

I do a lot of new and delete inside my code, and first,
I do see a memory leak somewhere, but I can;t pin it down.

The problem I have is that the program just spins.  This
can happen in two different places - either when I declare ofstream ofs(name),
or when I'm in a loop allocating a 2 dimensional array - similar to the
following

float **kalamazoo

kalamazoo = new float *[150];
for(i=0;i<150;i++)
   kalamzoo[i]=new float[30];

It seems to just hang inside this loop.
PLEASE HELP - ANY AND ALL HELP APPRECIATED.
mitch
Technical Details
Message-ID: <1992Dec15.144205.16197@mksol.dseg.ti.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!spool.mu.edu!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!mksol!duitz
References: <1gilfkINNjmd@crcnis1.unl.edu> <BzA2sp.199@newsserver.technet.sg> <BzAyI5.BrH@world.std.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!spool.mu.edu!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!mksol!duitz
From: duitz@mksol.dseg.ti.com (mitchel n duitz)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Borland and Memory
Message-ID: <1992Dec15.144205.16197@mksol.dseg.ti.com>
Date: 15 Dec 92 14:42:05 GMT
References: <1gilfkINNjmd@crcnis1.unl.edu> <BzA2sp.199@newsserver.technet.sg> <BzAyI5.BrH@world.std.com>
Distribution: usa
Organization: Texas Instruments, Inc
Lines: 19