From: carl dot washburn at iridium dot com
Operating system: Solaris 10
PHP version: 5.2.4
PHP Bug Type: Sybase (dblib) related
Bug description: php compiled --with-sybase=/usr/local/freetds --enable-soap
memory exhausted
Description:
------------
I have seen this problem in both 5.2.3 and 5.2.4.
If I compile php with:
--with-sybase=/usr/local/freetds
--enable-soap,
I receive the following when calling sybase_query:
"Allowed memory size of 104857600 bytes exhausted (tried to allocate
4722688 bytes)"
If I use:
ini_set("memory_limit","-1");
ini_set("max_execution_time","-1");
I receive from the same call to sybase_query:
"Out of memory (allocated 8156348416) (tried to allocate 370671616 bytes)"
.
The query returns requested information if I do not enable soap
extensions.
Expected result:
----------------
Query to return the same information as without --enable-soap.
Actual result:
--------------
Query fails.
--
Edit bug report at http://bugs.php.net/?id=42704&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=42704&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=42704&r=trysnapshot52
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=42704&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=42704&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=42704&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=42704&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=42704&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=42704&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=42704&r=support
Expected behavior: http://bugs.php.net/fix.php?id=42704&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=42704&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=42704&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=42704&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42704&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=42704&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=42704&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=42704&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=42704&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=42704&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=42704&r=mysqlcfg