Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:97957 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4392 invoked from network); 25 Jan 2017 09:52:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jan 2017 09:52:23 -0000 Authentication-Results: pb1.pair.com header.from=mike.php.net@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=mike.php.net@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.68 as permitted sender) X-PHP-List-Original-Sender: mike.php.net@gmail.com X-Host-Fingerprint: 74.125.82.68 mail-wm0-f68.google.com Received: from [74.125.82.68] ([74.125.82.68:35991] helo=mail-wm0-f68.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2B/9E-00729-75578885 for ; Wed, 25 Jan 2017 04:52:23 -0500 Received: by mail-wm0-f68.google.com with SMTP id r126so41382833wmr.3 for ; Wed, 25 Jan 2017 01:52:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to; bh=gf++Lg0bMchpIOdK5dyh1njIPbLakssKKrUZTmIslkk=; b=qt9YKr8kFRhPo4UIMetndKgX+rnBQIc6nsS73Vvpkhn68OJ7NzzOMkVbiWzcQyoHy6 km9GK0q4246e3lL5XJ1vIM3HmWYB7NhPZTtZp0IIA6JYOGSiFh/HjT9xDlbZc2ziLEaR WJb4wJ/Hfqul3hHVfWz8z3Fe0izODZJRHKkZTMuswq+doAE5SYGZdhhX11VZharNsl/+ +4FslgAQVFHvp6dkCKiOdlodJcibFpX+JtB8kobQWtqqTRsDP4KZX4fA86Z7bwgSHqFL qQn7Ztnz9yr/adl82KRfsRAXc2iTz8C9Kr8XBA4k3tIdWCVVvwFa13wq6Ck5v30Lnmln 4+dQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to; bh=gf++Lg0bMchpIOdK5dyh1njIPbLakssKKrUZTmIslkk=; b=oGT7s7mxGFLlsSqyyMKnAzjaT/K9l8a5+dvZ39FyWwL1zFfiiCpSbshBGqPWM66IAD CPD3llI/EjMSg1s3JOMBHlehv6vKodSE0669aUv1ok806fMUTt7e1OC/Y4A7H+S3+sDY ID37Q6zhxXUkB6ONfZn/E1N1QzFL3lokyWHnn8zwZed13Ex5dXhOaaDrLKtl1D5DuWkR yN6xcqyIBrDpWMyRByT6ZD6/JL+aWknAd7VzA+ULNoMg3JOip8oj2uA4A4JsXig41t43 wfqRL1807SzcHR4t1gzfXN0sJN7mIJAqY1sUxhuuzxxR45yHX7bt8B8ZItmSUGHjFVk+ ibbg== X-Gm-Message-State: AIkVDXIZTWTukXSACFwEQsHLJcG+nCPv1Rzs/SRYT54t6ATnXTZqcSuehgo4kRg2VDKfCA== X-Received: by 10.28.218.4 with SMTP id r4mr20932752wmg.105.1485337939830; Wed, 25 Jan 2017 01:52:19 -0800 (PST) Received: from [192.168.2.207] (89-104-28-113.customer.bnet.at. [89.104.28.113]) by smtp.googlemail.com with ESMTPSA id g71sm19753640wmc.9.2017.01.25.01.52.18 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Jan 2017 01:52:18 -0800 (PST) Sender: Michael Wallner To: internals@lists.php.net References: <3F.B0.00729.69BE3885@pb1.pair.com> <83.96.00729.93507885@pb1.pair.com> Message-ID: <7d5b26cd-1fc3-b303-0624-d442f5fe5260@php.net> Date: Wed, 25 Jan 2017 10:52:17 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <83.96.00729.93507885@pb1.pair.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9Qnpiouf2DBu7mdlco02qStcsH8Xc06cp" Subject: Re: [PHP-DEV] imap_fetchbody() leaks memory From: mike@php.net (Michael Wallner) --9Qnpiouf2DBu7mdlco02qStcsH8Xc06cp Content-Type: multipart/mixed; boundary="afdk0L7DHtQNikCBo1b6aV0UV3rA4Ldm7"; protected-headers="v1" From: Michael Wallner To: internals@lists.php.net Message-ID: <7d5b26cd-1fc3-b303-0624-d442f5fe5260@php.net> Subject: Re: [PHP-DEV] imap_fetchbody() leaks memory References: <3F.B0.00729.69BE3885@pb1.pair.com> <83.96.00729.93507885@pb1.pair.com> In-Reply-To: <83.96.00729.93507885@pb1.pair.com> --afdk0L7DHtQNikCBo1b6aV0UV3rA4Ldm7 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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. >=20 > Great, thanks! >=20 Hi, I've updated the bug: https://bugs.php.net/bug.php?id=3D73493 TL;DR The c-client lib performs a lot of caching; use imap_gc() to clean those caches from time to time. --=20 Regards, Mike --afdk0L7DHtQNikCBo1b6aV0UV3rA4Ldm7-- --9Qnpiouf2DBu7mdlco02qStcsH8Xc06cp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEHsPHHd1jWDGjN9aESA4+FLCkx8cFAliIdVEACgkQSA4+FLCk x8eMtQf/VsI8h/RlIxRbsK80v6nOA12K95Cr+SbModzdFIxrOzar3gkd4YlAXeh/ maTlFT1XfyuKc7yp2J8z/wJcdLZAZCtAOpKxRj7I5aVu1o6LPPsKB9EEIBZYonP1 AP/g8Rhmqv9uTCVMVC0fzufNwsvvMHHt60eL7+cCi5Dp9RWzD8i/34eg48obdh+C thBjxL47EZyAL5FvFi7o54GkjzlAXhWwYyLcZ0tixFS2TzsnNGd2tUrBDofhi0Dy 1AQgHr0e68Nic6rdggl7ij4+xwlgPOBOvG/ZPgm/yeoimaun/KyY3XkTq0e5MMd1 u24ATKVikqhhEV+0J9C8Q+/UsrkGkw== =sghg -----END PGP SIGNATURE----- --9Qnpiouf2DBu7mdlco02qStcsH8Xc06cp--