pouchdb / pouchdb-server

CouchDB-compatible server built on PouchDB and Node
Apache License 2.0
948 stars 154 forks source link

pouchdb-server runs out of memory and gets killed by oom killer #454

Closed sureshvv closed 2 years ago

sureshvv commented 2 years ago

This is on ubuntu 20.04

How can I prevent this? Can this be tracked down to a particular document?

sureshvv commented 2 years ago

Did not have system swap enabled. Created the required swap space to solve this.

Also see: https://stackoverflow.com/questions/53230823/fatal-error-ineffective-mark-compacts-near-heap-limit-allocation-failed-javas

sureshvv commented 2 years ago

Did not help. Went back to Couchdb.