Re: Memory context usage

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Adriano Lange <alange0001(at)gmail(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Memory context usage
Date: 2009-08-28 04:46:49
Message-ID: 1740.1251434809@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox
Thread:
Lists: pgsql-hackers

Adriano Lange <alange0001(at)gmail(dot)com> writes:
> How can I get the used memory of a memory context?

MemoryContextStats() might help. It just dumps the info to stderr
though.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2009-08-28 04:59:33 Re: 8.5 release timetable, again
Previous Message KaiGai Kohei 2009-08-28 04:07:18 [PATCH] Largeobject access controls