Fix #70952: GD massive memory consumption

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343821 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2018-01-12 16:21:05 +00:00
parent b203aec028
commit bb612d4a31
2 changed files with 9 additions and 1 deletions

View file

@ -47,6 +47,13 @@
The <function>getimagesize</function> function does not require the GD extension.
</simpara>
</note>
<caution>
<simpara>
While the bundled version of the GD library uses the Zend memory manager to
allocate memory, system versions do not, so that <link
linkend="ini.memory-limit">memory_limit</link> does not apply.
</simpara>
</caution>
</para>
<para>

View file

@ -74,7 +74,8 @@
<warning>
<para>
Image functions are very memory intensive. Be sure to set <link
linkend="ini.memory-limit">memory_limit</link> high enough.
linkend="ini.memory-limit">memory_limit</link> high enough, if you are using
the bundled version of the GD library.
</para>
</warning>
</section>