From: neongrau __ Date: 2009-02-21T02:36:49+09:00 Subject: what Ruby version to use on Windows for a 1.2.x RoR app? hi there! this might sound like a rant, but i'm just desperate :( i was running my app with ruby 1.8.5p52 for quite a while and the mongrel processes were quite memory stable as well as the dRB process for ferret. the latest security problem wasn't much of an issue since the app only runs in an intranet environment. i now tried 1.8.5p231 (the last stable i could find from the 1.8.5 series) because of some supposedly fixed memory leak in "eval" which i need for a service to peridodically execute some tasks for my RoR app. e.g. 1000.times {|i|eval("a#{i} = 1")} leaked memory like hell in 1.8.5p52 while in 1.8.5p231 it seemed totally stable (at least for that snippet). so i updated the server with that 1.8.5p231 version. but sadly my service is still leaking memory. even worse: now all mongrels and the ferret service also leak memory like mad. (each mongrel eating 300+mb after just 12 hours). isn't there any memory stable ruby version for windows? or at least is there a way to reset a ruby process and make it start itself over? normally i'd be totally against such methods, but since ruby itself can't run stable i see no other way :( PS: upgrading to RoR 2.x or moving to Linux is out of the question (trust me, i would if i could) -- Posted via http://www.ruby-forum.com/.