From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Jaime Casanova <jaime@2ndquadrant.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: memory leak in psqlodb 08.04.0200
Date: Fri, 21 May 2010 12:19:04 +0900
Message-ID: <4BF5FBA8.10709@tpf.co.jp> (raw)
In-Reply-To: <AANLkTinmZuzJEtYOPpVYx71yYFo83xS9ZTeyKOic4qFA@mail.gmail.com>
References: <AANLkTinmZuzJEtYOPpVYx71yYFo83xS9ZTeyKOic4qFA@mail.gmail.com>
Jaime Casanova wrote:
> Hi,
>
> When i use DTS from mssql to export data to postgres and the table is
>> 1million i get an error: Out of memory while reading tuples.
> I'm trying to understand the issue so i changed
> log_min_duration_statement=-1 in postgresql.conf to get all statements
> executed and i get
> BEGIN; INSERT one row sent from the dts RETURNING ctid; SELECT WHERE
> ctid; COMMIT;
>
> and when i select count(*) from table i get the rows it migrated until
> now... so, obviously the psqlODBC should be free'ing the memory it
> used for that tuple but instead when i see the Task Manager in windows
> i see how the memory is going down until it gets to zero...
>
> so this should be a memory leak, no? how can i trace it in the psqlODBC?
Could you please try the drivers on testing for 8.4.0201 at
http://www.geocities.jp/inocchichichi/psqlodbc/index.html
?
regards,
Hiroshi Inoue
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: inoue@tpf.co.jp, jaime@2ndquadrant.com
Subject: Re: memory leak in psqlodb 08.04.0200
In-Reply-To: <4BF5FBA8.10709@tpf.co.jp>
References: <AANLkTinmZuzJEtYOPpVYx71yYFo83xS9ZTeyKOic4qFA@mail.gmail.com> <4BF5FBA8.10709@tpf.co.jp>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox