pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedmemory leak in psqlodb 08.04.0200
4+ messages / 2 participants
[nested] [flat]
* memory leak in psqlodb 08.04.0200
@ 2010-05-17 02:28 Jaime Casanova <jaime@2ndquadrant.com>
0 siblings, 1 reply; 4+ messages in thread
From: Jaime Casanova @ 2010-05-17 02:28 UTC (permalink / raw)
To: pgsql-odbc
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?
--
Jaime Casanova www.2ndQuadrant.com
Soporte y capacitación de PostgreSQL
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: memory leak in psqlodb 08.04.0200
@ 2010-05-21 03:19 Hiroshi Inoue <inoue@tpf.co.jp>
parent: Jaime Casanova <jaime@2ndquadrant.com>
0 siblings, 1 reply; 4+ messages in thread
From: Hiroshi Inoue @ 2010-05-21 03:19 UTC (permalink / raw)
To: Jaime Casanova <jaime@2ndquadrant.com>; +Cc: pgsql-odbc
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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: memory leak in psqlodb 08.04.0200
@ 2010-05-22 12:35 Jaime Casanova <jaime@2ndquadrant.com>
parent: Hiroshi Inoue <inoue@tpf.co.jp>
0 siblings, 1 reply; 4+ messages in thread
From: Jaime Casanova @ 2010-05-22 12:35 UTC (permalink / raw)
To: Hiroshi Inoue <inoue@tpf.co.jp>; +Cc: pgsql-odbc
On Thu, May 20, 2010 at 10:19 PM, Hiroshi Inoue <inoue@tpf.co.jp> wrote:
> Jaime Casanova wrote:
>>
>>
>> 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
> ?
>
seems like this fix the problem
--
Jaime Casanova www.2ndQuadrant.com
Soporte y capacitación de PostgreSQL
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: memory leak in psqlodb 08.04.0200
@ 2010-06-16 17:18 Jaime Casanova <jaime@2ndquadrant.com>
parent: Jaime Casanova <jaime@2ndquadrant.com>
0 siblings, 0 replies; 4+ messages in thread
From: Jaime Casanova @ 2010-06-16 17:18 UTC (permalink / raw)
To: Hiroshi Inoue <inoue@tpf.co.jp>; +Cc: pgsql-odbc
On Sat, May 22, 2010 at 7:35 AM, Jaime Casanova <jaime@2ndquadrant.com> wrote:
> On Thu, May 20, 2010 at 10:19 PM, Hiroshi Inoue <inoue@tpf.co.jp> wrote:
>> Jaime Casanova wrote:
>>>
>>>
>>> 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
>> ?
>>
>
> seems like this fix the problem
>
When will this be released?
--
Jaime Casanova www.2ndQuadrant.com
Soporte y capacitación de PostgreSQL
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2010-06-16 17:18 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-05-17 02:28 memory leak in psqlodb 08.04.0200 Jaime Casanova <jaime@2ndquadrant.com>
2010-05-21 03:19 ` Hiroshi Inoue <inoue@tpf.co.jp>
2010-05-22 12:35 ` Jaime Casanova <jaime@2ndquadrant.com>
2010-06-16 17:18 ` Jaime Casanova <jaime@2ndquadrant.com>
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