On Nov 30, 2007 12:25 AM, Niels Nes
On Thu, Nov 29, 2007 at 05:43:44PM -0700, m h wrote:
What can I do to help this situation? Run with valgrind? Explain howto run the SQLAlchemy test suite? I guess that would help most.
I'm off to bed now, but hopefully this will get you started. *pull the svn of SQLAlchemy and don't install, but just unzip My code is attached to this bug: http://www.sqlalchemy.org/trac/ticket/874 put the monetdb.py in the sqlalchemy/lib/sqlalchemy/databases/ directory. add 'dialect.monetdb', to modules_to_test in sqlalchemy/test/dialect/alltests.py I have a script that runs the test, here it is: #!/bin/sh pushd sqlalchemy PYTHONPATH=./lib:./test; python -tt test/sql/alltests.py --db monetdb --verbose --log-debug=sqlalchemy.engine #PYTHONPATH=./lib:./test; python -t test/orm/alltests.py --db monetdb --verbose --log-debug=sqlalchemy.engine popd #end script Uncomment the test/orm/alltests.py to crash the server. Repeatedly running the normal test will show that there appears to be a memory leak in the server, as the memory grows by some 10-20 Megs after each run.
thanks much,
-matt
Attached is the valgrind output of the ORM crash (took some 15 minutes+ to run on my laptop). I guess you forgot to attach it as the attachment is missing.
Sorry, here it is -matt