Re: Memory leak (possibly connected to postgis) leading to server crash
Tomas Vondra <[email protected]>
| Newsgroups | gmane.comp.db.postgresql.bugs |
|---|---|
| Message-ID | <20191211142310.f5qqzsgxkwt64j42@development> |
Hi, On Wed, Dec 11, 2019 at 12:09:11PM +0100, Roman Cervenak wrote: >Hi, >I am trying to do > >(gdb) p MemoryContextStats(TopMemoryContext) > >on postgres backend process, but the response is: 'TopMemoryContext' has >unknown type; cast it to its declared type > >I never debugged postgres (or anything under linux), and google is not >helpful. Can you please advise? Full output is attached. > Hmmmm, I don't recall having this issue. Can you try installing the package with debug symbols, it should be called -debug or so. regards -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services