2005-08-23 10:48:39 PDT
OK - TestPerformance is not getting run with the technique I'm using. Good catch.
Running it manually, I am getting the out of memory error that you are seeing. The problem is that the test is invalid. It does not call commit(), so everything is getting stored up in one huge transaction.
Fix is to insert a commit() every XXX insertions. You'll probably want to add this to all tests in the class.
I agree that a restructuring of the unit test suites to make the differentiation between performance and correctness makes sense.
- K