Working on an embedded c++ system that has very limited memory. I need to lock the database file to 10MB. Is there a good way to do this?
Currently we attempted to get the file size and determine if data needed to be deleted. The file size doesn't actually change. Looking at some other documentation I would need to copy it and rebuild the database to reduce the size. The system doesn't have space to copy over the file.