Skip to Content.
Sympa Menu

freetds - Re: [freetds] Memory Overflow on apache using freetds and php

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "David Busby" <busby AT pnts.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Memory Overflow on apache using freetds and php
  • Date: Thu, 29 May 2003 09:54:56 -0700

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





Archive powered by MHonArc 2.6.24.

Top of Page