W3C home > Mailing lists > Public > www-lib@w3.org > October to December 2001

Re: HTAnchors lifetime

From: Michel Philip <philipm@altern.org>
Date: Tue, 23 Oct 2001 08:04:31 +0200
Message-ID: <3BD5086F.E86C02B5@altern.org>
To: Cesare Pietra <cesare.pietra@netikos.com>
Cc: www-lib@w3.org
You can clean the HTAnchor table by calling 'HTAnchor_deleteAll(NULL);'  
Take care, then, not to use anymore the anchor of your requests.
That means all requests must be done when you call this.

> Cesare Pietra wrote:
> Hi all.
> I'm dealing with a problem about HTAnchors.
> My application is a non interactive one; it must be running in the
> background for an indefinite time, like a deamon process does.
> It has the need to invoke a huge amount of CGI URIs (most of the times
> we have different query strings but same addresses and paths).
> I can see that the size of the hash table provided by libwww,
> containing the HTAnchor objets, is growing fast while requests are
> serviced; and the amount of memory owned by the process becomes
> greater and greater.
> I'd like to know how to limit the growth of the HTAnchor table.
> I have read that an Anchor lives (in most cases) as long as the entire
> application.
> Is this really unavoidable?
> What is meant by "in most cases"?
> Anybody can help me please?
> Thanks.
> Cesare Pietra
> Mobile Applications Area
> NETikos S.p.A.
> Via Matteucci 34/B
> 56124 PISA
> Tel.: + 39 050 968526
> Fax: + 39 050 968525
> e-mail:  cesare.pietra@netikos.com
> Internet: www.netikos.com
Received on Tuesday, 23 October 2001 01:54:18 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:54 UTC