From: Edwin van Leeuwen Date: 2006-05-08T07:19:50+09:00 Subject: RubyTorrent memory usage Hi all, I've been using the rubytorrent library to build a webbased torrent client, but when I start a torrent ruby wll slowly start using more and more memory and in about three hours it will use 100% (512mb) of memory. The package seems unmaintained (no activity the last year and no reply to email) so basically two questions: 1) Does anyone here use rubytorrent. Do they have the same problems or is it just me. 2) How would I debug this. I looked into the creation of objects by the library (by monitoring objectspace) and it mostly creates Arrays and Procs (Arrays go from 40000 at the start to 400000 after half an hour), but the number of objects based on the rubytorrent classes stays about the same. Is there a way to find out by which object another object is created; for example have an object report it has been created by RubyTorrent::Peer. Edwin P.S. this is on ruby 1.8.4 in linux. -- Posted via http://www.ruby-forum.com/.