Bug #55022 [Opn->Fbk]: memory_limit exhausted when set charset in sybase_connect

From: Date: Sat, 11 Jun 2011 01:15:54 +0000
Subject: Bug #55022 [Opn->Fbk]: memory_limit exhausted when set charset in sybase_connect
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-161294@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=55022&edit=1

 ID:                 55022
 Updated by:         felipe@php.net
 Reported by:        hexes at mail dot ru
 Summary:            memory_limit exhausted when set charset in
                     sybase_connect
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            Sybase-ct (ctlib) related
 Operating System:   Linux 2.6.36-gentoo-r5
 PHP Version:        5.3.6
 Block user comment: N
 Private report:     N

 New Comment:

Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/




Previous Comments:
------------------------------------------------------------------------
[2011-06-11 03:15:17] felipe@php.net

Automatic comment from SVN on behalf of felipe
Revision: http://svn.php.net/viewvc/?view=revision&revision=312044
Log: - Possible fix for bug #55022 (memory_limit exhausted when set charset in sybase_connect)

------------------------------------------------------------------------
[2011-06-10 10:28:05] hexes at mail dot ru

Description:
------------
The same script, the same query if i set 
sybase_connect($this->server_name, $this->login, $this->pass, 'cp1251')
i get
Allowed memory size of 134217728 bytes exhausted (tried to allocate 156353484 
bytes)
if i delete it, script work correct, except message:

Sybase:  Server message:  Character set conversion is not available between 
client character set 'utf8' and server character set 'cp1251'.
 (severity 11, procedure N/A)

Result return only one row, that couldn't exhaust 156353484 bytes...



------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=55022&edit=1


Thread (4 messages)

« previous php.bugs (#161294) next »