Re: Sort memory not being released
От | Jim C. Nasby |
---|---|
Тема | Re: Sort memory not being released |
Дата | |
Msg-id | 20030616170723.GJ40542@flake.decibel.org обсуждение исходный текст |
Ответ на | Re: Sort memory not being released (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Sort memory not being released
|
Список | pgsql-general |
On Mon, Jun 16, 2003 at 10:13:02AM -0400, Tom Lane wrote: > "Jim C. Nasby" <jim@nasby.net> writes: > > It appears that after a pgsql backend uses memory for sort, it doesn't > > get released again, at least on solaris. IE: > > That's true on many Unixen --- malloc'd space is never released back to > the OS until the process dies. Not much we can do about it. If you're > concerned, start a fresh session, or use another Unix (or at least a > better malloc package). Holy ugly batman... This is on solaris; is there a different/better malloc I could use? Also, would doing the sort in a seperate process solve the problem? IE: doing a 'blocking fork()' on entry to the sort routine? (Sorry, I'm not a C coder...) -- Jim C. Nasby (aka Decibel!) jim@nasby.net Member: Triangle Fraternity, Sports Car Club of America Give your computer some brain candy! www.distributed.net Team #1828 Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?"
В списке pgsql-general по дате отправления: