-
-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
bugSomething isn't workingSomething isn't workingproduction releaseTasks required for production releaseTasks required for production release
Description
In a single application life cycle I have a need to use multiple times fresh instance of persistence map to reduce pressure on memory.
val map = {
persistent.Map[String, Int, Nothing, Glass](File.newTemporaryDirectory("suggestions_topn_").deleteOnExit().path)
}
when the business operation is completed ( multiple map.put and one map.values.foreach ) persistent map is being closed using
map.close()
After multiple cycles memory is being occupied by swaydb.core.level.zero.LevelZeroMapCache that have root reference in scala.sys.ShutdownHookThread
It is not clear from docs is something else e.g. map.delete should be called to clear references.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingproduction releaseTasks required for production releaseTasks required for production release

