Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Long running Perl Tk processes

by graff (Chancellor)
on May 31, 2008 at 05:52 UTC ( [id://689393]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://689393]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-03-29 07:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found