#19846 [NEW]: FATAL: emalloc(): Unable to allocate 170864426 bytes when using imap function
From: jesper@sivertsen.org
Operating system: HP-UX 11.11
PHP version: 4.2.2
PHP Bug Type: IMAP related
Bug description: FATAL: emalloc(): Unable to allocate 170864426 bytes when using imap function
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 bug report at http://bugs.php.net/?id=19846&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19846&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19846&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19846&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19846&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19846&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19846&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19846&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19846&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19846&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19846&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19846&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=19846&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=19846&r=isapi
Thread (6 messages)
- jesper at sivertsen dot org