Best practices for using MapDB with Android -


what best way use mapdb android, regards activity lifecycle? keeping singleton instance of db around cause memory issues long map instances garbage collected correctly?

what happen if instance of db garbage collected before closed (supposing transactions have been commited)?

there not best practices. make sure db closed correctly after writes finish.

if want use newest mapdb 2.0, must remove file unsafestuff.java , recompile mapdb project


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -