Welcome! Log In Create A New Profile

Advanced

Re: free the last allocation in a pool

Denis F. Latypoff
May 04, 2010 07:42AM
04.05.10, 14:19, "Peter Leonov" <gojpeg@gmail.com>:

> Hi, again,
>
> When a module needs some memory just for a temporary buffer, it comes to this:
> buf = ngx_pnalloc(pool, len);
>
> When the work is done, it is good to free the memory ;)
> As far as ngx_pfree() tries to free the “large” blocks only it can't be used for a small allocation.
> Could you please tell me, is there a way to free the last small block of memory?

http://forum.nginx.org/read.php?21,44274,44299

>
> Thanks,
> Peter.

--
br, Denis F. Latypoff.

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

free the last allocation in a pool

Peter Leonov 2748 May 04, 2010 06:22AM

Re: free the last allocation in a pool

Denis F. Latypoff 1065 May 04, 2010 07:42AM

Re: free the last allocation in a pool

Peter Leonov 1351 May 04, 2010 08:38AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 127
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready