#264 Mac platform: aria2 generate a lot of inactive memory

Undecided
closed
nobody
None
5
2013-03-24
2012-01-04
ZeLegolas
No

Hi

I'm using aria2 on Mac OSX 10.6.8 and after something i'm obliged to kill aria2 because it's consume all available memory.
On mac platform you should disable the cache like this for the handle file:
fcntl(fd, F_GLOBAL_NOCACHE, 1)

Regards

Discussion

  • tujikawa
    tujikawa
    2012-01-04

    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.

     
  • Ant Bryan
    Ant Bryan
    2012-11-05

    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.

     
  • tujikawa
    tujikawa
    2013-03-24

    • status: open --> closed
    • milestone: --> Undecided
     
  • tujikawa
    tujikawa
    2013-03-24

    The patch was applied and the current release has this. I close this issue for now.