vaish Posted December 3, 2012 Share Posted December 3, 2012 Hi, I have a script of creating IMacros object using ObjCreate/ObjGet function. If i run the script continuously i am seeing huge memory leak. Do we have any fix for Memory leak in AutoIT??? Also i found thread in AutoIT forum related to Memory leak in ObjGet/ObjCreate function. I am using latest AutoIT tool only. Please let me know if we have any fix for memory leak in AutoIT. The script is: ;Creating IMacros Object Global $iMacros = ObjCreate("IMacros") Global $iRet If Not IsObj($iMacros) Then KConsole("IMacro Object not created successfully") Link to comment Share on other sites More sharing options...
water Posted December 3, 2012 Share Posted December 3, 2012 The thread you refer to is nearly 6 years old. The don't mention the AutoIt version they use but I know that there have been significant improvemtns regarding the COM interface. But it looks like it was "fixed in 3.2.11.2." - thats the last sentence of the thread you refere to. Which version of AutoIt do you use? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
vaish Posted December 3, 2012 Author Share Posted December 3, 2012 I am using 3.3.6.1 Link to comment Share on other sites More sharing options...
water Posted December 3, 2012 Share Posted December 3, 2012 Could you try the latest production version 3.3.8.1 or even the latest beta 3.3.9.4? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
vaish Posted December 3, 2012 Author Share Posted December 3, 2012 No... I haven't try Link to comment Share on other sites More sharing options...
water Posted December 3, 2012 Share Posted December 3, 2012 Give at least 3.3.8.1 a try. The history talks about some removed meory leaks. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
vaish Posted December 3, 2012 Author Share Posted December 3, 2012 its about ObjGet/ObjCreate Memory leaks? Link to comment Share on other sites More sharing options...
water Posted December 3, 2012 Share Posted December 3, 2012 According to the history file of 3.3.8.1:Fixed #1565: Arrays as object properties; memory leak.Fixed: ObjCreate() memory leak when using a remote computer.Fixed: Potential memory leak in COM error event code. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
vaish Posted December 3, 2012 Author Share Posted December 3, 2012 Sure... I will try and will let you know... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now