Sign in to follow this  
Followers 0
DW1

(SOLVED) :) Memory Leak

7 posts in this topic

#1 ·  Posted (edited)

Do I NEED to post the code for this one?

I use this script at work all day, everyday, and it is leaking mem so bad that at 8:00 AM its at 7,000 but at 5:00 PM its at 170,000 . This only happens with the exe, the scite autoit wrapper doesn't do it.

I can watch it leak about every second at a trickle, but a constant trickle.

Edited by danwilli

Share this post


Link to post
Share on other sites



Try moving these lines to the top that they only are performed one time. this to check if its FileReadline that has the issue since that is a reported Bug.

$HB1 = FileReadLine("times.txt", 1)

$MB1 = FileReadLine("times.txt", 2)

$HB2 = FileReadLine("times.txt", 3)

$MB2 = FileReadLine("times.txt", 4)

$HL = FileReadLine("times.txt", 5)

$ML = FileReadLine("times.txt", 6)

$HP = FileReadLine("times.txt", 7)

$MP = FileReadLine("times.txt", 8)


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

before the loop? or at the top of the loop?

(Before, and on times.txt update)

THANK YOU!!!!! that did the trick

Edited by danwilli

Share this post


Link to post
Share on other sites

before the loop? or at the top of the loop?

(Before, and on times.txt update)

THANK YOU!!!!! that did the trick

JdeB is right it has been corrected in 3.2.5.0 not yet delivered :whistle:

Share this post


Link to post
Share on other sites

ummm...

gimme? i want

Looking back at your code can you confirm that it is fix with 3.2.5.0 which is now delivered.

Thanks :whistle:

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