in reply to Need Help Identifying Possible Tk Memory Reuse Problem
Also in your create_gui sub, you are creating a new mainwindow, this will waste memory if called more than once. So create the $mainwindow once and withdraw it, and when you call the create_gui sub, $mw->deiconify; $mw->raise;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Need Help Identifying Possible Tk Memory Reuse Problem
by Grygonos (Chaplain) on Jul 13, 2004 at 15:14 UTC |