in reply to Long running Perl Tk processes

If the widget inventory in the app remains stable/fixed (i.e. you are not creating lots of new widgets as part of the user interaction), and you're always just (re)using the same variable storage for data content being displayed in the widgets (e.g. "-textvariable" attributes for Label and Entry widgets, the same array for Listbox widgets, etc), it should run indefinitely with an unchanging memory footprint.

But as zentara says, you just have to test it out (and as most monks know, zentara is, hands-down, the top authority here on all things Tk).

Replies are listed 'Best First'.
Re^2: Long running Perl Tk processes
by greenFox (Vicar) on Jun 04, 2008 at 02:57 UTC

    I'm not creating or destroying widgets but I do pack() and packForget() a little bit. Its run for a week without growing so I think it will be OK. Will dig further if I need to...

    Thanks.
    Murray

    --
    Murray. Do not seek to follow in the footsteps of the wise. Seek what they sought. -Basho