🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #3131

Re: i need ideas/comments with tclientsocket

#3131
From: Hans Galema
Date: Wed, 02 Nov 2005 08:52
12 lines
1888 bytes
Remy Lebeau (TeamB) wrote:

> If you don't do that, then the stream will slowly continue allocating more
> and more memory until it runs out.  You should reduce the Size periodically
> to reduce the amount of unused memory.

That is hard to believe. What would be the reason then ? If a client first
sends it biggest message and then millions of small messages then tho code does
not force Size to increase and hence Capacity stays the same too. So there are no
allocations going on. What would run out then ?

Hans.
Technical Details
Message-ID: <43687e84$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!news-in.newsgroups.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43662baf$1@newsgroups.borland.com> <43664511@newsgroups.borland.com> <4366672a$1@newsgroups.borland.com> <43668460@newsgroups.borland.com> <4366d220$1@newsgroups.borland.com> <43672a80$1@newsgroups.borland.com> <43673233$1@newsgroups.borland.com> <4367395a@newsgroups.borland.com> <4367a1c5$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,5c33b8c6a9ca7fdb
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Wed, 02 Nov 2005 09:52:16 +0100
From: Hans Galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: i need ideas/comments  with tclientsocket
References: <43662baf$1@newsgroups.borland.com> <43664511@newsgroups.borland.com> <4366672a$1@newsgroups.borland.com> <43668460@newsgroups.borland.com> <4366d220$1@newsgroups.borland.com> <43672a80$1@newsgroups.borland.com> <43673233$1@newsgroups.borland.com> <4367395a@newsgroups.borland.com> <4367a1c5$1@newsgroups.borland.com>
In-Reply-To: <4367a1c5$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 145.98.201.248
Message-ID: <43687e84$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1130921604 145.98.201.248 (2 Nov 2005 00:53:24 -0700)
Lines: 13
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!news-in.newsgroups.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail