ashbb / green_shoes

Green Shoes is one of the colorful Shoes written in pure Ruby.
Other
204 stars 37 forks source link

memory leaks #35

Open glurp opened 13 years ago

glurp commented 13 years ago

Hello,

Here a little program which seem to have memory issue on windows:


require 'green_shoes' Shoes.app do p VERSION p RUBY_VERSION p Gtk::VERSION.join(".") @st=stack @r=("ddddd,eeee"*10).split(',') every(0.2) { @st.clear { ([Time.now.to_f.to_s]+@r).each { |mess| flow { para " "+mess } } } }

end

outputs are: "0.233.0" "1.9.2" "2.22.1"

by

glurp commented 13 years ago

same with last gem : 0.243.0

ashbb commented 13 years ago

Hi raubarede,

Yes, your code will eat away at your memory. But I'm not sure the cause is a memory leak or a GC (garbage collection) problem.

This is a problem I've noticed. But sorry, I have not any solution so far.

ashbb