Jump to content

Recommended Posts

Posted

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")

Posted

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:

  Reveal hidden contents

 

Posted

Could you try the latest production version 3.3.8.1 or even the latest beta 3.3.9.4?

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted

Give at least 3.3.8.1 a try. The history talks about some removed meory leaks.

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted

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:

  Reveal hidden contents

 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...