memory leak in psqlodb 08.04.0200

memory leak in psqlodb 08.04.0200

am 17.05.2010 04:28:35 von Jaime Casanova

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=3D-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?

--=20
Jaime Casanova www.2ndQuadrant.com
Soporte y capacitación de PostgreSQL

--=20
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc

Re: memory leak in psqlodb 08.04.0200

am 21.05.2010 05:19:04 von Hiroshi Inoue

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


--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc

Re: memory leak in psqlodb 08.04.0200

am 22.05.2010 14:35:49 von Jaime Casanova

On Thu, May 20, 2010 at 10:19 PM, Hiroshi Inoue 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.h tml
> ?
>

seems like this fix the problem

--=20
Jaime Casanova www.2ndQuadrant.com
Soporte y capacitación de PostgreSQL

--=20
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc

Re: memory leak in psqlodb 08.04.0200

am 16.06.2010 19:18:37 von Jaime Casanova

On Sat, May 22, 2010 at 7:35 AM, Jaime Casanova wro=
te:
> On Thu, May 20, 2010 at 10:19 PM, Hiroshi Inoue 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.h tml
>> ?
>>
>
> seems like this fix the problem
>

When will this be released?

--=20
Jaime Casanova www.2ndQuadrant.com
Soporte y capacitación de PostgreSQL

--=20
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc