Re: Iconized application takes looooong to wake up



In article <1182443627.465523.92970@xxxxxxxxxxxxxxxxxxxxxxxxxxx>,
"Larry W. Virden" <lvirden@xxxxxxxxx> wrote:

What i find interesting in this thread is that, so far, no one else
has indicated that they have seen the same problem in their tcl/tk
application. If there were some way to create a small coherent example
that produced similar results (even if the amount of time were
different), perhaps the tcl/tk team would then be able to take the
code in question and debug the situation to analyze whether what a tcl
programmer needed to do to resolve the situation.

I mostly don't use Tcl/Tk for huge applications. When I do, they are
typically either very interactive and not long-running, or are not
graphical.

It's simple enough to create the scenario: on toplevel ".", create a
button. To this button, assign [image create photo], and to image1, put
data of approximately 4096x4096 or larger. This seems to eat a few
hundred MB.

I attempted a test on Mac OSX, but it manages this fairy well. Though I
was able to have a 300+ MB application page out all but about 50Mb, and
have the restore display recover with no more than a few extra hundred
ms of delay, even on a 1GHz machine, perhaps because the Dock keeps a
"live" icon display of the window contents. I've noticed Apple
graphical display routines are fairly robust.

Anecdotally, I find application restore times to be a more common
affliction of Windows. I'll have a shot at Windows some time and see if
I can force the issue.

--
MKS
.