Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Memory issue while experimenting with Tk::Thumbnail

by SciDude (Friar)
on May 30, 2004 at 00:49 UTC ( #357536=note: print w/ replies, xml ) Need Help??


in reply to Memory issue while experimenting with Tk::Thumbnail

In the "TK Gotchas" section of this tutorial page you will find the following comment:

if you create a Canvas with Photos in it, it appears to be impossible to destroy them without leaking memory, no matter how many lexical scopes you leave or destroys and deletes you scream at the interpreter. The only work around I found was to load the images in, and simply hide them when not required.

Hopefully a TK guru will post a more concise solution to this problem.

On a related note, Steve Cook has a wonderful set of introductory tutorials related to perl/tk. See his pages for details.

SciDude


Comment on Re: Memory issue while experimenting with Tk::Thumbnail

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2014-12-26 02:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (164 votes), past polls