Sign in to follow this  
Followers 0
AU3Newbie

Error allocating memory.

10 posts in this topic

post-19681-1208489121_thumb.jpgHow to solve this error?

That's a fetal error,I cannot control it.

What shall I do?Thank you.

Share this post


Link to post
Share on other sites



post-19681-1208489121_thumb.jpgHow to solve this error?

That's a fetal error,I cannot control it.

What shall I do?Thank you.

Assuming it was an AutoIt script that generated that error, what was the script doing at the time? You didn't provide any information to base a diagnosis on.

:D


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

Assuming it was an AutoIt script that generated that error, what was the script doing at the time? You didn't provide any information to base a diagnosis on.

:D

My script is getting the active Window's title every second while a very big Kill-virus Software run.Then it appears.

Share this post


Link to post
Share on other sites

My script is getting the active Window's title every second while a very big Kill-virus Software run.Then it appears.

Is it by any chance in a recursive loop?

:D


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

Is it by any chance in a recursive loop?

:D

yes,a WHILE TRUE loop.

Share this post


Link to post
Share on other sites

AU3Newbie - post your code.


Das Häschen benutzt Radar

Share this post


Link to post
Share on other sites

AU3Newbie - post your code.

while 1
$title = WinGetTitle("")
ToolTip($title, 0, 0)
Sleep(100)
WEnd

This script runs very well until you load a very big Kill-Virus-Software such as Rising.Then the certain error occur.

Share this post


Link to post
Share on other sites

Mybe add some lines, so that the Tip is only updated when the Title changes:

Dim $oldTitle
while 1
$title = WinGetTitle("")
If $oldTitle <> $title Then
    ToolTip($title, 0, 0)
    $oldTitle = $title
EndIf
Sleep(100)
WEnd

*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

Share this post


Link to post
Share on other sites

Mybe add some lines, so that the Tip is only updated when the Title changes:

Dim $oldTitle
while 1
$title = WinGetTitle("")
If $oldTitle <> $title Then
    ToolTip($title, 0, 0)
    $oldTitle = $title
EndIf
Sleep(100)
WEnd
Thank you,but it's of no use.

Error still occurs in practise.

Maybe it still get title every 100ms,furthermore,it compares the two titles every 100ms!

Share this post


Link to post
Share on other sites

Thank you,but it's of no use.

Error still occurs in practise.

Maybe it still get title every 100ms,furthermore,it compares the two titles every 100ms!

Now I'd like to know if it's AU3's bug or RISING-Software's bug for they come into conflict with MEMORY.

Maybe we cannot avoid it as a user. :D

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0