Hi guys, I was reading this thread a couple of hours ago because I was having the same Rtorrent error (rtorrent: std::bad_allocate), and I tried to follow Jorgen's advice for running it under valgrind. I have a Ubuntu 10.04LTS VPS (under OpenVZ) and when I tried to install valgrind, I got into this error: "apt-get :FATAL -> Failed to fork" which lead me to this bit of information http://forum.openvz.org/index.php?t=msg&goto=38046& So, apparently, I couldn't install anything because I didn't have enough memory (after consulting the /proc/user_beancounters file). So, I decided to restart my VPS. After that, rtorrent ran fine, without any other issues. Therefore, I think it's got more to do with the memory on the host rather than with a bug in rtorrent (I'm not saying that "restarting" represents a solution, mereley a "workaround" :) ).
Best regards, Vlad

