🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Program is very large in memory. How to decrease ?

#4650
From: MMX
Date: Fri, 16 Dec 2005 08:34
9 lines
1134 bytes
Hi.
I've wrote the service program using only WinAPI.  Compiled .exe file is ~60
kb on disk. But when it executing it tooks ~950 kb in memory even if do
nothing just:
 while (true) Sleep(50);

Why is it so big in memory and how to decrease it size.

Thank you. Alex.
Technical Details
Message-ID: <43a27bfd@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!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-Thread: 10cc67,6af733692ddeff34,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "MMX" <nospam@nospam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Program is very large in memory. How to decrease ?
Date: Fri, 16 Dec 2005 11:34:05 +0300
Lines: 11
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1506
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506
NNTP-Posting-Host: 194.226.80.68
Message-ID: <43a27bfd@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1134722045 194.226.80.68 (16 Dec 2005 00:34:05 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail