From: MenTaLguY Date: 2007-01-05T01:02:51+09:00 Subject: Re: Memory Leak Madness --=-uGIDmAjbghmGnXQfQAUN Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2007-01-04 at 03:11 +0900, Brandon Casci wrote: > class StationWorkQueue > ... > end >=20 > unshift/pop doesn't seem to stop the memory consumption, but it's been=20 > slowed down a great deal. It's only gained a few MB over the last 30=20 > minutes. I'll let this run for a few hours and see what happens. I'll=20 > also try fastthread. I'd recommend using fastthread's Queue class. thread.rb's Queue is almost exactly like your StationWorkQueue, and fastthread's version should be nicer about memory consumption (and faster). -mental --=-uGIDmAjbghmGnXQfQAUN Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBFnSUmSuZBmZzm14ERAhPjAKCtksECPyGHPG4gRZ3cGmm7DMYIDgCgzFFg YpHo00M/gkHuTrGF3J9D/9I= =zRUt -----END PGP SIGNATURE----- --=-uGIDmAjbghmGnXQfQAUN--