rtorrent 0.9.8/0.13.8 becomes unresponsive while downloading, when memory usage exceeds 1GB (5GB are allocated) at download rates of >60MB/sec. It will hang for a few seconds, then memory usage drops to <100MB and the download resumes. dtruss shows system calls to msync and munmap during the hang which occur each time:
rtorrent 0.9.8/0.13.8 becomes unresponsive while downloading, when memory usage exceeds 1GB (5GB are allocated) at download rates of >60MB/sec. It will hang for a few seconds, then memory usage drops to <100MB and the download resumes. dtruss shows system calls to msync and munmap during the hang which occur each time:
With the download rate limited to 250KB/sec, these calls are much briefer and don't cause a hang:
MacOS 12.3, 32GB ram, APFS on an SSD with write speed of 108MB/sec