ostafen / clover

A lightweight document-oriented NoSQL database written in pure Golang.
MIT License
666 stars 55 forks source link

About the size of database occupancy #56

Closed jinzhongjia closed 2 years ago

jinzhongjia commented 2 years ago

Database initialization takes up a large amount of space. For example, after I save more than 400 databases, it takes up 2GB. I don't know if this is a normal phenomenon. image

ostafen commented 2 years ago

Check #35. Are you calling db.Close() before exiting your program?

jinzhongjia commented 2 years ago

ok, i konw