On Thu, 16 Jun 2011, vip killa wrote:

Could someone point me in the right direction of how to create a Fast AGI script without memory leaks? I was told i need to clear the result set for mysql queries, Im not sure how to do that. My script is a simple perl script of 70 lines doing database lookups and executing "dial" and "voicemail" I'd be happy to post the code, thanks in advance.

Read the MySQL documentation? Post on the MySQL mailing list? Google?

Failing finding any information on how to free the result, you could always just close the connection. That's pretty effective in a heavy handed sort of way.

--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       [email protected]      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to