What is the best way to use MapDB with Android, especially with regards to the Activity lifecycle? Will keeping a singleton instance of DB around cause memory issues as long as all map instances are garbage collected correctly?
What will happen if an instance of DB is garbage collected before it is closed (supposing all transactions have been commited)?