Hi Daniel,
the internal structure of the query results in the db_text module are saved at the connection level. this leads to memory leaks when the connection is shared between processes.
please find the attachment with a patch to make bind the resulting internal structure to the db_result.
Best