masumsoft / express-cassandra

Cassandra ORM/ODM/OGM for NodeJS with support for Apache Cassandra, ScyllaDB, Datastax Enterprise, Elassandra & JanusGraph.
http://express-cassandra.readthedocs.io
GNU Lesser General Public License v3.0
227 stars 67 forks source link

export and exportAsync goes into memory leak #200

Open vvaldersteins opened 5 years ago

vvaldersteins commented 5 years ago

Hi there!

I just noticed that my application started to go into memory leak every x hours. After digging into the problem, I figured out that this was caused because of the backups it does every x hours. Specifically, the function goes into a memory leak in case there is a big table (mine is around 2GB large). The memory and CPU usage keeps climbing and finally it crashes.

Any suggestions on this?

It happens on both export and exportAsync