peacfuljoh / predictive-analytics-ytvideos

Full-stack real-time predictive anaytics for YouTube content creators
0 stars 0 forks source link

Fix memory leak issue in websocket streams (use low-bandwidth test setup to debug) #30

Closed peacfuljoh closed 9 months ago

peacfuljoh commented 10 months ago

Possible culprits:

peacfuljoh commented 9 months ago

Couldn't reproduce the memory leak. Set mongodb cache to 300 MB in /etc/mongo.conf in case that's the culprit. By default, MongoDB uses up to half the system memory for cache and up to half for in-memory storage.