nedb
nedb copied to clipboard
NEDB free memory manully
Question reproduce
Load db by new NEDB({ filename: "", autoload: true }) from disk.
App use Map to hold several dbs.
Customers do task, then create taskDB/reportDB/contentDB/otherDB and so other dbs,
When Customers finish task, App clear the Map object, and set dbs = null.
Found out that ,memory did not free up. How can App free dbs's memory by manully.
Wanted
NEDB db.clearMemory to free memory data.