Trying to figure out what I am doing wrong. Whenever I run this code it starts using up all my ram but no process shows up as using the ram but the task manager shows ram usage going up until the computer starts hanging. are you suppsoed to save the cairo context and use the same one over and over again or run this line of code every time you draw? cr = window.create_cairo_context here is the simple program I started with and it hangs my computer if I let it run for a minute or two. https://gist.github.com/anonymous/de637935fee203170b9b here is the gem list: atk (2.0.2) bundler (1.3.5) cairo (1.12.6) gdk_pixbuf2 (2.0.2) glib2 (2.0.2) gtk2 (2.0.2) pango (2.0.2) pkg-config (1.1.4) rake (10.0.4) rubygems-bundler (1.1.1) rvm (18.104.22.168)
on 2013-07-09 18:23
on 2013-07-11 00:16
switched ruby version with rvm to 1.9.3 from 2.0 and installed the previous version of gtk2 on 1.9.3 and now it seems to work.
on 2013-07-11 04:27
I have tested your code on Windows, with Ruby 2.0.0 p0, with gtk 2.0.2, and haven't ran into any issues with memory leakage. On Wed, Jul 10, 2013 at 6:16 PM, none nope < email@example.com> wrote: > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=4880... > _______________________________________________ > ruby-gnome2-devel-en mailing list > firstname.lastname@example.org > https://lists.sourceforge.net/lists/listinfo/ruby-... > -- Mario Steele Fleet Captain CO - Geo 99 CO - USS T'hy'la XO - Diplomatic Corps - Second Life http://www.iftcommand.com/chapters/thyla/ http://www.trekfederation.com