Memory leak in ODBC driver

Поиск
Список
Период
Сортировка
От pgsql-bugs@postgresql.org
Тема Memory leak in ODBC driver
Дата
Msg-id 200103091541.f29FfGW65595@hub.org
обсуждение исходный текст
Ответы RE: Memory leak in ODBC driver  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Список pgsql-bugs
Terry Carlin (terry@greatbridge.com) reports a bug with a severity of 2
The lower the number the more severe it is.

Short Description
Memory leak in ODBC driver

Long Description
As part of Great Bridge QA testing, we run the AS3AP, TPC-C, and TPC-D
benchmarks using 1 to 100 users.  Our benchmarking tool is Benchmark
Factory.  It is a WinNT/Win2000 application.  It uses ODBC to connect to PostgreSQL as there is no native driver for
PostgreSQLyet.  Benchmark Factory will run as many transactions as it can during a given timeframe. 

We have found that there is a memory leak in the PostgreSQL ODBC drivers. The system memory grows 100k to 300k every
fiveseconds during the test. We are hitting from 500 to 1100 transactions per second.  After we get through several
hundredthousand transactions, we run out of swap space on the Win2000 box. The Win2000 box has about 1.2 gig of swap
space.

We have found this behavior in all versions of the ODBC driver all the
way back to the 6.50.000 ODBC driver.

We loaded Oracle8i onto our benchmark machine and ran the same tests.  We observed that there was no memory growth
duringthese tests. 

I have captured the "mylog" file and placed it on a ftp site for
downloading.  There are two versions of this file.
The full one is about 55 mb and the second is a "head -10000" of that
file.  It is about 500k.

The filenames are:
ftp://linux1000.dn.net/pub/mylog_1180.log and
ftp://linux1000.dn.net/pub/mylog_1180_10000.log

We will provide any assistance and resources needed to help squash this bug.

Terry Carlin
VP QA & Lab
Great Bridge LLC

terry@greatbridge.com





Sample Code


No file was uploaded with this report

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Depending on system install scripts (was Re: COBOL)
Следующее
От: "Hiroshi Inoue"
Дата:
Сообщение: RE: Memory leak in ODBC driver