Hi,

Assuming you are using the latest version of Win32:GUI you don't need to do 
anything special regarding memory management. When objects go out of scope all 
memory and resources are released. Something else is going on - can you post an 
example?

Cheers,

Jeremy.



-----Original Message-----
From: "pcourterelle" <[EMAIL PROTECTED]>
To: "perl-win32-gui-users@lists.sourceforge.net" 
<perl-win32-gui-users@lists.sourceforge.net>
Sent: 12/06/07 22:30
Subject: [perl-win32-gui-users] memory management and Win32: :GUI

Are there any special requirements for memory management when using Perl 
Win32::GUI?

I've created several some simple scripts with Win32::GUI where there is 
little more than a window, button and listview and the script is using 6 MB 
of memory. The memory usage increase dramatically each time a button is 
clicked or the listview is populated. (the buttons do nothing more than 
insert a static text item into the listview  - literally "bob" The memory 
usuage never seems to decrease dynamically when the listview is reset.

I'm certainly no expert but this does not seem right.

Thanks

Phil 



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
http://perl-win32-gui.sourceforge.net/




Reply via email to