Re: [HACKERS] Memory leaks for large objects
Maurice Gittens <mgittens@gits.nl>
From: "Maurice Gittens" <mgittens@gits.nl>
To: "Thomas G. Lockhart" <lockhart@alumni.caltech.edu>, "Peter T Mount" <psqlhack@maidast.demon.co.uk>
Cc: "PostgreSQL-development" <hackers@postgreSQL.org>
Date: 1998-02-18T07:07:36Z
Lists: pgsql-hackers
> >Does the large object I/O persist across transactions? If so, then storage would >need to be outside of the usual context, which is reset after every transaction. >Is there a place where the large object context could be freed, but is not at >the moment? > > - Tom Large object I/O does not persist across transactions in my case. But maybe there are applications which assume that it does. So "fixing" it might break things. How about some compile time flag which selects between the old behaviour and new behaviour? The old behaviour could be the default. (The new behaviour would simply avoid fiddling with MemoryContexts at all.) My current workaround is to reconnect to the database after some number of transactions. Regards, Maurice