nedb icon indicating copy to clipboard operation
nedb copied to clipboard

NEDB free memory manully

Open akerdi opened this issue 5 years ago • 0 comments

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.

akerdi avatar Jun 10 '20 02:06 akerdi