Re: [PHP-DEV] imap_fetchbody() leaks memory

2017-01-26 Thread Leon Sorokin

On 1/25/2017 3:52 AM, Michael Wallner wrote:


Hi, I've updated the bug: https://bugs.php.net/bug.php?id=73493

TL;DR

The c-client lib performs a lot of caching; use imap_gc() to clean those
caches from time to time.


Ok, great. Will give that a try.

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] imap_fetchbody() leaks memory

2017-01-25 Thread Michael Wallner
On 24/01/17 08:41, Leon Sorokin wrote:
> On 1/23/2017 2:45 PM, Michael Wallner wrote:
>> Just assigned that to me, I'll try to come to it the next few days.
> 
> Great, thanks!
> 

Hi, I've updated the bug: https://bugs.php.net/bug.php?id=73493

TL;DR

The c-client lib performs a lot of caching; use imap_gc() to clean those
caches from time to time.


-- 
Regards,
Mike



signature.asc
Description: OpenPGP digital signature


Re: [PHP-DEV] imap_fetchbody() leaks memory

2017-01-23 Thread Leon Sorokin

On 1/23/2017 2:45 PM, Michael Wallner wrote:

Just assigned that to me, I'll try to come to it the next few days.


Great, thanks!

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] imap_fetchbody() leaks memory

2017-01-23 Thread Michael Wallner
Am 22.01.2017 00:15 schrieb "Leon Sorokin" :

Hey guys,

I filed bug 73493 [1] a couple months ago and there's no triage or visible
activity yet. Was hoping to get an update if possible.

I'm forced to download any large INBOX in batches with imap_close() &
imap_open() gymnastics to avoid chewing through 2GB+ of RAM.

thanks!

[1] https://bugs.php.net/bug.php?id=73493



Just assigned that to me, I'll try to come to it the next few days.


[PHP-DEV] imap_fetchbody() leaks memory

2017-01-21 Thread Leon Sorokin

Hey guys,

I filed bug 73493 [1] a couple months ago and there's no triage or 
visible activity yet. Was hoping to get an update if possible.


I'm forced to download any large INBOX in batches with imap_close() & 
imap_open() gymnastics to avoid chewing through 2GB+ of RAM.


thanks!

[1] https://bugs.php.net/bug.php?id=73493

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php