jankotek / mapdb

MapDB provides concurrent Maps, Sets and Queues backed by disk storage or off-heap-memory. It is a fast and easy to use embedded Java database engine.
https://mapdb.org
Apache License 2.0
4.87k stars 873 forks source link

Temporary files cannot be deleted in mmap mode #1017

Open LEIHAOYUAN opened 1 year ago

LEIHAOYUAN commented 1 year ago

Dear author: Dependent version: 3.0.8
example code: DBMaker.tempFileDB() .fileMmapEnable() .fileMmapPreclearDisable() .fileDeleteAfterClose() .closeOnJvmShutdown() .closeOnJvmShutdownWeakReference() .make(); problem description: Temporary files can be deleted normally under java unit tests. Temporary file deletion is not deleted in the Spring web environment