[freetds] Memory Overflow on apache using freetds and php

David Busby busby at pnts.com
Thu May 29 12:54:56 EDT 2003


The 8M limit is set in the PHP /etc/php.ini (or where-ever).
The entry is 'memory_limit'.
Alternatively you can use the function ini_set() in your script to modifiy
the memory limit for only that one script (recommended).

ini_set('memory_limit','20M');

/B


----- Original Message ----- 
From: "Lowden, James K" <LowdenJK at bernstein.com>
To: "FreeTDS Development Group" <freetds at lists.ibiblio.org>
Sent: Thursday, May 29, 2003 06:19
Subject: RE: [freetds] Memory Overflow on apache using freetds and php


> From: Aliet Santiesteban Sifontes [mailto:alietss at yahoo.com]
> Sent: May 28, 2003 11:55 PM
>
> I'm testing freetds-0.62, php-4.3.2, httpd-2.0.45 on
> RedHat Linux 9.0, I'm doing a query wich have a lot of
> data to return, this is causing apache to stop with
> this error....
> Allowed memory size of 8388608 bytes exhausted (tried
> to allocate 10240 bytes)

Is there a text column involved?  Have you set your textsize to a reasonable
valure?

--jkl
-----------------------------------------
The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above. If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the
original message. Please note that we do not accept account orders and/or
instructions by e-mail, and therefore will not be responsible for carrying
out such orders and/or instructions.


_______________________________________________
FreeTDS mailing list
FreeTDS at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds




More information about the FreeTDS mailing list