🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #13340

Borland Memory Manger leaking memory

#13340
From: CC
Date: Thu, 16 Oct 2003 21:31
32 lines
1968 bytes
Greetings -
I'm hoping this is the correct place for this memory question.

There has been quite a bit of discussion in the past on how the mem mgr.
holds on to memory and never gives it back to the system previously.

I have a TThread'ed application that in the win2k task manager, shows
increasing peak & virtual memory when this program is placed under heavy
usage.

I have scoured the program w/memproof, etc and eliminated most dynamic
memory calls from my code, but I still have the memory creeping up as
threads are being created, destroyed, etc. The thread count, etc all stays
normal, just memory creeps. It gets to a point where the program fails to
respond, and it has to be killed & restarted.


I have seen other people having similar problems.


Is it possible leaks are occuring in libraries, tthreads, etc, or bugs in
mem mgr not freeing memory?


Just curious if anyone has any good resources or insights on this subject.

Thanks,
Curt


P.S. - The next step is cut bcb out of picture & go for a pure winapi
re-write (yuck)
Technical Details
Message-ID: <3f8f0e05@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,b0c9f2abc30c34f3,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-10-16 14:39:50 PST
From: "CC" <Xcurtc@tmscorp.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Borland Memory Manger leaking memory
Date: Thu, 16 Oct 2003 16:31:28 -0500
Lines: 35
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 208.254.250.201
Message-ID: <3f8f0e05@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1066339845 208.254.250.201 (16 Oct 2003 14:30:45 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail