Integer overflow in memory_limit check detected -- Cannot set memory limit past 2gb?
<p>I'm running PHP 5.1.6 with a 64-bit platform, 7.5 GB memory.  I have the memory_limit set to 4 gigs.</p>

<p>I'm zipped a large amount of files (output size ~= 2gb), so I need this memory available.</p>

<p>When zipping the largest of my files, those that approach the 2gb limit I've imposed, the script fails with:</p>

<pre><code>Integer overflow in memory_limit check detected
</code></pre>

<p>I am assuming this has to do with the integer that is holding the memory_limit and it must be 32-bit.   Is there a way to work around this or can I only set my memory limit to 2048M?</p>
