priitj / whitedb

WhiteDB memory database
http://whitedb.org/
GNU General Public License v3.0
608 stars 78 forks source link

whitedb doesn't release shared memory on Windows platform #30

Open priitj opened 6 years ago

priitj commented 6 years ago

Applications may need to release some of the shared memory while running.

Currently this is not implemented via whitedb API.

rohanbabu commented 5 years ago

Does this mean that the size of the DB will only grow and that the wg_delete_record(void db, void rec) function does not reduce the size of the DB even if it successful?

priitj commented 5 years ago

Nope, this issue is about wg_detach_database()/wg_delete_database().

Records are allocated internally by whitedb, creating or deleting them does not change the size of the shared memory area.