#19846 [Opn->Fbk]: FATAL: emalloc(): Unable to allocate 170864426 bytes when using imap function
ID: 19846
Updated by: yohgaki@php.net
Reported By: jesper@sivertsen.org
-Status: Open
+Status: Feedback
Bug Type: IMAP related
Operating System: HP-UX 11.11
PHP Version: 4.2.2
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2002-10-10 06:57:08] jesper@sivertsen.org
Using pre-compiled apache 1.3.26 and php 4.2.2 as module from HP.
Made imap extension with hp-ansi/c compiler CFLAGS=-Ae +DA1.1 +DS2.0
+z
cd /opt/php-4.2.2/ext/imap
phpize
./configure --with-imap=/opt/imap-2002.RC7/c-client
--with-imap-ssl=/opt/apache/ssl
make
linked by hand with c-client "ld -b -o imap.sl *.o"
Moved imap.sl to /opt/apache/php/lib/php/extension/imap.sl
I get following error in apache error_log:
FATAL: emalloc(): Unable to allocate 170864426 bytes
when i try to use imap-functions, and no result in th ebrowser !
I have build other extension like oci8.sl, gd.sl, calendar.sl and
ftp.sl that works the same way !
Hope sombody can help mee with this, i can se in the bug-database that
there have been
simmular problems in Windows erlier ?
I have tryed the same with php 4.2.3 and with older c-clients but same
error.
Best regards
Jesper Sivertsen
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19846&edit=1
Thread (6 messages)