Re: PgAdmin III 1.12 crazy memory usage

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Thom Brown <thom(at)linux(dot)com>
Cc: pgadmin-support <pgadmin-support(at)postgresql(dot)org>
Subject: Re: PgAdmin III 1.12 crazy memory usage
Date: 2010-10-07 11:56:59
Message-ID: AANLkTim_o=ymX5S0GTivfXVgTT-w37OSbti8d9XxitC+@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On Tue, Oct 5, 2010 at 11:03 AM, Thom Brown <thom(at)linux(dot)com> wrote:
> Okay, I've tried reproducing it by asking it to show the edit view
> without restricting the number of results, but seems to be fine.  But
> if I open with limited to 100, then change it to "no limit", refresh
> and close, the query still appears to be running on the server.  It
> shows "pgAdmin III - Edit Grid" as the process running the query too,
> and there's still lots of I/O on the machine.  I definitely don't
> still have that window open.

OK, so I believe the attached patch fixes this, though I'm slightly
nervous about unintended side-effects. I'll provide Thom with a binary
for testing, but would appreciate it if someone else (Guillaume?)
could also review the patch.

Thanks!

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise Postgres Company

Attachment Content-Type Size
editgrid-abort.diff application/octet-stream 835 bytes

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Thom Brown 2010-10-07 12:29:16 Re: PgAdmin III 1.12 crazy memory usage
Previous Message Michael Shapiro 2010-10-06 22:25:39 Re: pgAdmin asks me the server's private key