Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94005 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31431 invoked from network); 15 Jun 2016 13:02:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jun 2016 13:02:24 -0000 Authentication-Results: pb1.pair.com smtp.mail=peterlebrun@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=peterlebrun@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.182 as permitted sender) X-PHP-List-Original-Sender: peterlebrun@gmail.com X-Host-Fingerprint: 209.85.220.182 mail-qk0-f182.google.com Received: from [209.85.220.182] ([209.85.220.182:36544] helo=mail-qk0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F4/10-27860-FD151675 for ; Wed, 15 Jun 2016 09:02:23 -0400 Received: by mail-qk0-f182.google.com with SMTP id p10so16740979qke.3 for ; Wed, 15 Jun 2016 06:02:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=hU9nS2wvCdmnHqDvr4dAdtus2n+g+0ckKTFA3sgMeWY=; b=XyDseIIt9rBsWspPryhLxxoQ6hZF7BLJCdOKhNi4chvbMahe7zHouNMzoy5QkpfXW+ LlrrPSBKrvEOstwQuknRuhmWyU13GWvuBmxFFrCQFlBQ48Fbe624DU08K6ss2ynWPCQW a7nwp59E8o0OBXcU2SP91AXT7oGjwcB1eMUTCQTFlVyevWCXM6Eowswv68XNAdU+gQOR Y/igYbGtVFeZ2vCFCBs5h7wgIIDY/wEKX2n+bgJC65Rn2s6xJHl5W3FQ4Fg19ThpYuFw S47gu1CPa80iv/6SV4t1j/09WIRmVzEg98Ga4O/3YFlL9YS+LIreW19SranNOgwcWycu LFNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=hU9nS2wvCdmnHqDvr4dAdtus2n+g+0ckKTFA3sgMeWY=; b=KgITjsT0rVXBKK5C+h+o2a+HRPsnUsUAOnR2khhGTnKQPlc6oSSkBiRhBw/9O3ar5u huUxVpcHyZBWmSwNTpuKYm4f37o3FtWEQQoh7QhROhfcozkLORKhrRIJwgv8kBaUtafQ 8zEy1fJh4poyvh87g8hRZi65I7NH0V7n/0iGBGRYe/kSjNaPmFFt/UsHTTuo6fJdtulc OiVp288/KLB/BUKgNNQi9g6ZL8GfeChTOc336OslzgXI5e+5q5VCdD+WNxwiTzHR39Le 7hnmcbvdonDsXouOxajgv66KlwZ3p9j9/gAeE10p1vToifBE3ic7cwWZX8R9Z4cXtp70 9ymg== X-Gm-Message-State: ALyK8tJrMQQ07P/k3+1PQ56l/YUkaQ5NB9EeNjaOxTtsoqt/jBxB/r70/01TpNE8wr85YuFwWZgJQuq9ywd40Q== X-Received: by 10.55.158.2 with SMTP id h2mr24743652qke.94.1465995741127; Wed, 15 Jun 2016 06:02:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.48.220 with HTTP; Wed, 15 Jun 2016 06:01:51 -0700 (PDT) Date: Wed, 15 Jun 2016 09:01:51 -0400 Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary=94eb2c0725b0646e7d053550bba3 Subject: PHP allocating too much memory From: peterlebrun@gmail.com (Peter LeBrun) --94eb2c0725b0646e7d053550bba3 Content-Type: text/plain; charset=UTF-8 Hi - I'm getting the following error in php7.0.5: Fatal Error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 140729445144864 bytes) If it's relevant, we're using dblib+freetds. I can't reproduce the issue deterministically; the best I can do is to repeatedly curl an endpoint and something like 30% of the requests will fail due to the above error. The weirdest part about this is that PHP is somehow trying to allocate 140TB of memory. Has anyone seen anything like this? Any insights would be appreciated. Thanks, Peter --94eb2c0725b0646e7d053550bba3--