"if you aren't sure it's a bug, try posting in the Help forum first"
Python 2.5.1 (r251:54863, Apr 28 2007, 10:57:35)
MySQL: 5.1.16-beta PLD Linux Distribution MySQL RPM
MySQLdb.version_info: (1, 2, 2, 'final', 0)
I'm comparing (reads only, no writes) two big (>1GB) databases with SSDictCursors. Sometimes I need to close the cursor in the middle of a query. As it happens, process hangs on the cursor.close() eating up all memory, I had to kill it every time. Is it possible it is NOT a bug?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Followup: When I use SSCursors (instead SSDictCursors) - at first it's the same - memory starts to fill up. When it reaches 50% (of available RAM), I get an Exception:
Exception _mysql_exceptions.OperationalError: (2013, 'Lost connection to MySQL server during query') in <bound method SSCursor.del of <MySQLdb.cursors.SSCursor object at 0x860b88c>> ignored
Maybe it is MySQLs (not MySQLdbs) fault?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
"if you aren't sure it's a bug, try posting in the Help forum first"
Python 2.5.1 (r251:54863, Apr 28 2007, 10:57:35)
MySQL: 5.1.16-beta PLD Linux Distribution MySQL RPM
MySQLdb.version_info: (1, 2, 2, 'final', 0)
I'm comparing (reads only, no writes) two big (>1GB) databases with SSDictCursors. Sometimes I need to close the cursor in the middle of a query. As it happens, process hangs on the cursor.close() eating up all memory, I had to kill it every time. Is it possible it is NOT a bug?
Followup: When I use SSCursors (instead SSDictCursors) - at first it's the same - memory starts to fill up. When it reaches 50% (of available RAM), I get an Exception:
Exception _mysql_exceptions.OperationalError: (2013, 'Lost connection to MySQL server during query') in <bound method SSCursor.del of <MySQLdb.cursors.SSCursor object at 0x860b88c>> ignored
Maybe it is MySQLs (not MySQLdbs) fault?