Guidelines for Using MapDB with Android

What is the best way to use MapDB with Android, especially regarding the Activity lifecycle? Will one database instance be maintained around memory problems if all card instances are correctly garbage collected?

What happens if a database instance collects garbage before it is closed (suppose all transactions have been completed)?

+4
source share
1 answer

There are actually no best practices. Just make sure db is closed correctly after recording is complete.

If you want to use the latest MapDB 2.0, you must delete the file UnsafeStuff.javaand recompile the mapdb project

+1
source

All Articles