Large memory footprint

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
freddy77
Posts: 1
Joined: Fri Apr 10, 2009 4:42 pm

Large memory footprint

Post by freddy77 »

Hi, I tried to report this issue on IRC but probably isn't the right way. I'm trying some torrent client in order to choose the right one. My final aim is an embedded client with web remote interface. I tried transmission and have a really nice and light web interface, also I read that many people embed it. But from my tests itseems transmission eats a lot of memory. I tried Ubuntu Intrepid version and version 1.51 but with 6 queued files (ranging from about 800mb to 4gb) after half/one hour 23mb are occupied. So I launched transmission with massif tool (a valgrind tool) to see where this memory was allocated and I discovered that about 84-86% of memory are allocated for output buffers. I limited upload to 30kb/s (a bit less than the maximum possible) so to transmit 23mb it would took about 13 minute to send all these buffered data !!! Why so large? I noted that buffer size is computed with max(5.5 * maximum_block, 20 * 1024 * speed) and that buffers are filled not when kernel have some space but in a timeout call.

Any hint for reducing this memory usage. My router (where I want to put the torrent client) have a 300mhz mips cpu and 64mb of ram.
Post Reply