Re: [SOCI-users] postgresql memory hog

2009-04-01 Thread Maciej Sobczak
Hello, Anders Larsen wrote: > It turned out that each query of the form > Rowset rs = (sql->prepare << "SELECT * FROM table"); > hogs a chunk of memory in the connected postgresql server process. > As soon as the session is closed, the memory is freed. > (With a persistent session the memor

[SOCI-users] postgresql memory hog

2009-04-01 Thread Anders Larsen
Hi, postgresql recently ran out of memory on a server here. It turned out that each query of the form Rowset rs = (sql->prepare << "SELECT * FROM table"); hogs a chunk of memory in the connected postgresql server process. As soon as the session is closed, the memory is freed. (With a pers