Iconized application takes looooong to wake up



Hi there Tclers!

I have a Tcl application which I pack as a dqkit for distrubution to
my customers. The platform is MW Windows XP. This application is
intended to be running for long periods of time, say days, weeks or
even longer. Some users iconify the application for, say, the night,
and clicking on it to use it again at the day after takes a long time,
of the order of 3:30 minutes.

I've monitored the memory usage as reported by MS Windows task manager
and it goes like this:

Upon application start: 233 Mb
Upon iconifying it: 2.7 Mb
Quickly uniconifying it: 118Mb, takes no time
Leaving it iconified for some hours and uniconifying it: 118Mb, takes
3:30 minutes

I added a periodic self-scheduling procedure which did nothing and the
situation didn't changed a bit. Nevertheless, if this procedure
displays some text in the MMI the situation changes as follows:

Upon application start: 233 Mb
Upon iconifying it: 7.0 Mb
Quickly uniconifying it: 118Mb, takes no time
Leaving it iconified for some hours and uniconifying it: 118Mb, takes
1:15 minutes

So keeping the application busy reduces the time for it to stand back
at attention, but over one minute is still pretty uncomfortable, not
to mention that I dont want to pollute my MMI....

Has anyone experienced a smilar problem? Any ideas I could explore?

Thank you very much!

Juan Carlos---

.



Relevant Pages

  • Re: Iconized application takes looooong to wake up
    ... So after iconifying it, and uniconifying it, the program is using 100+ ... I added a periodic self-scheduling procedure which did nothing and the ... displays some text in the MMI the situation changes as follows: ...
    (comp.lang.tcl)
  • Re: Iconized application takes looooong to wake up
    ... Larry W. Virden wrote: ... Upon iconifying it: 2.7 Mb ... Quickly uniconifying it: 118Mb, takes no time ... That appears to be a point at which Windows does some sort of GC. ...
    (comp.lang.tcl)