robanstha commented on issue #252:
URL: https://github.com/apache/couchdb-docker/issues/252#issuecomment-1919292669

   Found a workaround for the issue:
   
   1. Delete the views before deleting the database.
   2. Run database compact to remove the deleted views permanently.
   3. Delete the database.
   
   This has free up all the memory that were consumed by views in the above 
case:
   
![image](https://github.com/apache/couchdb-docker/assets/45699995/1f1acd16-34fb-4aa1-8131-a6fe0ef9f4f2)
   From docker stats, you can see that the memory usage was reduced by 1.xGB to 
1xxMB. If views were not deleted and db wasn't compacted, it would have stuck 
in 1.xGB even after deleting database.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to