Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
Did you actually see that setting F_GLOBAL_NOCACHE to 1 fixed this issue?
I don't know much about Mac OS X file handling, but most operating systems cache file contents in itself (to share the data with other processes) rather than in individual user process. So if you see aria2 process consumes lots of memory, I think it is a memory leak of aria2.
how do we test this?
on my mac, running aria2 in rpc daemon mode, it seems to make the fan run full blast sometimes when downloading torrents. I assume this was due to writing large files all over but it has a SSD & plenty of memory.
Patch attached. Could you test aria2 and see that the issue is fixed with this patch?
The patch was applied and the current release has this. I close this issue for now.