Posted by Andy Hassall on 10/06/06 00:01
On 5 Oct 2006 15:00:35 -0700, "comp.lang.php" <phillip.s.powell@gmail.com>
wrote:
>re:
>http://www.google.com/search?hl=en&q=swedish+flag&btnG=Google+Search
Re what page from this search?
>I am trying only this:
>
>[PHP]
>$image = @imagecreatefromgif('/path/to/this/image.gif');
>[/PHP]
>
>This line alone causes a segfault on my machine; when I measured how
>much memory it took to process this, it literally required up to 100+mb
>of memory to process a GIF image that is only 953 bytes!!!
If it segfaults, get a backtrace and report it as a bug.
http://bugs.php.net/bugs-generating-backtrace.php
>Is this normal behavior for imagecreatefromgif()? I am using PHP 4.3.9
>with GD 2.0.1, this shouldn't happen but it does
Given this isn't the first GD memory-related post you've made then there's
either something badly wrong with your installation or you're doing something
other than what you're describing.
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
[Back to original message]
|