dat share runs out of memory, crashes
Author: lmfontCreated Jul 28, 2018Updated Mar 31, 2020
I am reporting:
- a bug or unexpected behavior
- general feedback
- feature request
- security issue
Bug Report
- Operating system: Debian Stretch
- Node Version: v8.11.3
- Dat Version: 13.11.3
Expected behavior
I'm trying to run dat on a fairly constrained VPS. I need to be able to sync about 50 GB over about 25000 files and about as many symbolic links. Files range in size from under 1 KB to over 1 GB.
Expected behavior is dat share scanning the files and sharing them without using too much memory / CPU.
Actual behavior
dat pegs the CPU at 100% and memory usage quickly grows until it gets to about ~256 MB of res memory, and then gets killed by the OS.
Debug Logs
Source: dat-ecosystem/dat