memory-leak in pysqlite 2.3.0 ?

2006-06-19 Thread Michael Husmann
After upgrading from pysqlite 2.0.5 to pysqlite 2.3.0 writing into a
sqlite database increases memory consumption heavily. A similar program
with Ruby and sqlite-ruby 1.1.0 does not affect memory consumption at
all.

Here a short example:
---
#!/usr/bin/env python

import os
from pysqlite2 import dbapi2
print dbapi2.version

db = dbapi2.connect(bla.db)
c = db.cursor()

c.execute(create table b (c integer))

for i in xrange(1000):
c.execute(insert into b values (%d) % i)
  
--

System in use:
Python 2.4.1, Sqlite3 3.3.6, Pysqlite 2.3.0

Regards,
Michael

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Looking for Stephen Turner, maintainer of informixdb

2005-03-29 Thread Michael Husmann
Carsten Haese wrote:

 Hello everybody:
 
 I have discovered that the functionality for connecting Python to an
 Informix database is currently in a frustrating state of neglect. The
 link to Kinfxdb is dead, and informixdb doesn't build on Python 2. I
 couldn't find any usable workarounds to the build problem, so I worked
 out successfully how to build informixdb using distutils.
 
 Now I'd like to share the result with the community, but the maintainer
 appears to have gone missing. My emails to [EMAIL PROTECTED] and
 [EMAIL PROTECTED] have bounced back undeliverable, so now I'm
 posting to the lists trying to locate Stephen.
 
 If anybody has any pointers for locating Stephen Turner, please let me
 know. If Stephen can't be located, I'd be willing to take over the
 project, but I'd prefer the torch be given to me rather than me just
 taking it.

Carsten,

haven't heard anything from Stephen either, but there are some extensions to
the informixdb module. I'll send the sources to you next week. So if you
like you can bundle everything in one package.

Kind greetings,
Michael
-- 
http://mail.python.org/mailman/listinfo/python-list