Reducing Oracle LOB Memory Use in PHP, or Paul's Lesson Applied to Oracle
- by christopher.jones
Paul Reinheimer's PHP memory pro tip shows how re-assigning a
value to a variable doesn't release the original value until the new
data is ready. With large data lengths, this unnecessarily increases
the peak memory usage of the application.
In Oracle you might come across this situation when dealing with
LOBS. Here's an example that selects an…