Hi, I am using perl embedded on C + wxWidgets with a threading mechnism.
If a thread is never join, I can see clearly the amount of memory growing after each thread run. However, if it is joined, the amount of memory used gets freed. I had checked that on Windows 2000. Kind regards, Jean-Philippe -----Original Message----- From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Chris Wagner Sent: Tuesday, July 28, 2009 8:57 PM To: perl-win32-users@listserv.ActiveState.com Subject: Re: Perl and memory... At 06:48 PM 7/28/2009 +0300, Serguei Trouchelle wrote: >I'm not sure. Ending thread on Windows deallocates memory as it said in MSDN, but I'm not exactly sure how Perl handles >all this stuff. So that could be Windows specific? The application I made was on Solaris. I actually thought it was a memory leak in my code. After I found out Perl couldn't free() memory I gave up on trying to shrink the process size and implemented a multiprocess system to deal with the memory issue. It was ActiveState Perl though. Jan? -- REMEMBER THE WORLD TRADE CENTER ---=< WTC 911 >=-- "...ne cede malis" 00000100 _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs