🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: VM Size is not reduced

#10609
From: Pete Fraser
Date: Wed, 31 Mar 2004 08:12
26 lines
2031 bytes
This question has been asked (and answered) many times here) please search
the newsgroup archive before posting.
However, the answer is that Borland have a sub memory manager that takes
memory from windows and only gives it back when app closes. Thus windows
thinks it is losing memory. This is not a leak. Don't worry about it. Use
Memproof to find any leaks you may have. Task manager is not any good for
finding leaks for this very reason.
HTH Pete

"Sara T." <sarana@infoquest.co.th> wrote in message
news:406a2eaa@newsgroups.borland.com...
> How can I reduce my VM size ?
>
> I found that my software when running for a while, the VM Size of my
> software is going bigger while Mem Usage is also fine (Up and down
> normally).
>
> My software calls simple API i.e. malloc() and free() to allocate and free
> the memory, otherwise I use simple component such as ListBox
>
> Mem Usage is down but VM size stands to the values (not going down like a
> mem usage)
>
> All of these items, I see in the Task Manager.
>
> Does anyway to reduce the VM Size or this is a normal event ?
Technical Details
Message-ID: <406a7d87@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsrout1.ntli.net!news.ntli.net!peer01.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <406a2eaa@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,47b4c8bfa962b00d
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-03-31 00:39:39 PST
From: "Pete Fraser" <pete._no_spam_fraser@frasersoft.nospam.net>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <406a2eaa@newsgroups.borland.com>
Subject: Re: VM Size is not reduced
Date: Wed, 31 Mar 2004 09:12:56 +0100
Lines: 28
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: 195.12.18.1
Message-ID: <406a7d87@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1080720775 195.12.18.1 (31 Mar 2004 00:12:55 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsrout1.ntli.net!news.ntli.net!peer01.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail