Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Aug 1998 02:36:07 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, syko@sykotik.org
Cc:        dg@root.com, freebsd-current@FreeBSD.ORG, freebsd@xaa.iae.nl, narvi@haldjas.folklore.ee
Subject:   Re: memory leaks in libc
Message-ID:  <199808061636.CAA00012@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>Apache uses them quite frequently.  And this could make it very costly on
>large webservers.  Where I work, we have hundreds of connections to some
>of our webservers per minute.  We also use cgi scripts very frequently,
>and these use *env* functions quite frequently as well.  

The env functions are already costly.  They use dumb linear searches
and malloc(), and don't alloc a little more than necessary so that the
environment can grow a little without reallocation.  Garbage collection
need not be equally pessimal.

Bruce

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808061636.CAA00012>