dynamobi/dynamobi — Issue #253: [LDB-68] memory leak when constantly restarted by Blackhawk tests
Author: dynamobi-build
Created: 2011-12-30 02:24:43+00:00
State: open
Labels: LDB

[reporter="jvs", created="Wed, 26 Apr 2006 12:18:02 -0500 (GMT-05:00)"]
From email:

----

The leak seems to be caused by (or at least greatly exacerbated by) the way Blackhawk starts and stops the LucidDB engine for each test, but without forking a new JVM each time (all pain no gain). Farrago was never run in that way before Blackhawk, so somehow there must be some crud left behind in the Java heap after shutdown, and apparently there's more of it with the new optimizer. We should track that down, but that may take a while, and this definitely isn't a normal usage pattern (usually JVM lifetime is coeval with LucidDB lifetime), so I'd say the immediate goal should be to change the way Blackhawk invokes LucidDB (see BKH-20) so we can get the new optimizer integrated to lu/dev on schedule.

----

I'm creating this issue to make sure we track down the leak regardless of how we resolve BKH-20.