"Dawid Kuroczko" <qnex42@xxxxxxxxx> writes: > I have recently found a nice utility called memstat (which shows how > much of private > (not shared)) memory each process uses. What kind of surprised me was > the amount > of memory that is used by PL/pgSQL (one more reason not to provide it > by default? ;-)). Why should we put any credence whatsoever in these numbers? I rather doubt that "memstat" knows anything about our palloc mechanism, so I don't see how it could possibly give reliable answers about how much memory one portion or another of Postgres is using. Having said that, it would be interesting to know exactly what it *is* measuring. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster