News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Christopher Jones' Blog:
Temporary LOBS in PHP's OCI8 Extension. Instant Client.
January 21, 2008 @ 12:05:00

Christopher Jones talks today on his blog about a bug he's just corrected and integrated into the release of the Oracle Instant Client that lets PHP correctly take advantage of the temporary LOBS functionality.

When PHP is done with the temporary LOB, it needs to tell Oracle to destroy it. If this isn't done, then the temporary LOB will hang around using DB space until the connection is closed. I just merged a fix worked on by Krishna Mohan and myself for bug 43497.

Example code is included showing two instances of its use - a normal use that frees the memory correctly and the other showing how to create the temporary lob to hold the data as needed.

0 comments voice your opinion now!
temporary lob patch oci8 extension instant client memory leak


blog comments powered by Disqus

Similar Posts

Cyberlot's Blog: PHP Extension creating, the quick and dirty.

Christopher Jones' Blog: Oracle at PHPSC - Grupo de Usuarios de PHP do Estado de Santa Catarina

HowToForge.com: Building Apache with PHP,MySQL, OCI8 instant client support

Maggie Nelson's Blog: PDO_OCI does not support CLOBs

Ilia Alshanetsky's Blog: Filter Extension Revamped (and PHP 5.2 news)


Community Events





Don't see your event here?
Let us know!


install list code series api developer library framework project podcast community configure language introduction release interview bugfix application threedevsandamaybe wordpress

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework