in reply to Bad, bad memory leaks in simple script [solved]
Following from the previous post; Move the call to Gtk2::Gdk::Cairo::Context->create out of the draw sub. A new Cairo context is being created in the timer sub each time it's being called. Have one sub for the updating of the $ticks and one for the initial creation of the Context.