AhkThread and memory usage
Posted: 29 Nov 2021, 07:46
- I made a small script to log some stats to webdatabase.
- My main script runs this thread with some command arguments.
(This logging activity will be used very often)
Everytime i use AhkThread my scripts memory usage increases about 1MB. One hour later it ends up hundreds of MBs.
My question is;
How can i manage this usage. Basicly i just want my small script/thread to [ Run - Do work - Die ] And left nothing behind. And may be a situation that this thread may run -allmost- concurrently. One after an other with different parameters.
Thank you.
- My main script runs this thread with some command arguments.
Code: Select all
AhkThread(postEvent, """Win + Q"" ""Test"" """" " SubStr(VERSION, -9) " " ISAKTIF " ""stat türü""")
Everytime i use AhkThread my scripts memory usage increases about 1MB. One hour later it ends up hundreds of MBs.
My question is;
How can i manage this usage. Basicly i just want my small script/thread to [ Run - Do work - Die ] And left nothing behind. And may be a situation that this thread may run -allmost- concurrently. One after an other with different parameters.
Thank you.