Memory issue
-
- Posts: 20
- Joined: 25 Mar 2021, 00:12
- Contact:
Memory issue
Hello there: I am not sure if this is counted as an issue or is mentioned earlier, but when I was running my script, it only use 2~10 Mb of my memory. However, every time if I right-clicked the tray icon, the memory use would dramatically increase to over 100 Mb. I am using unicode 64 bits version. So is this a bug or something else?
Re: Memory issue
no such thing is observed when testing with U64
without knowing what script ure running its impossible to say anything. but its probably a problem in ur script
Code: Select all
#Requires AutoHotkey v1.1.33.08
MsgBox
-
- Posts: 20
- Joined: 25 Mar 2021, 00:12
- Contact:
Re: Memory issue
I didn't post script just because it literally happened to every scripts on my laptopswagfag wrote: ↑27 Apr 2021, 18:40no such thing is observed when testing with U64without knowing what script ure running its impossible to say anything. but its probably a problem in ur scriptCode: Select all
#Requires AutoHotkey v1.1.33.08 MsgBox
For example:
Code: Select all
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
;#Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
Gui, challen_mode: New, +LastFound +AlwaysOnTop -Caption +ToolWindow -DPIScale, Listening ; +ToolWindow avoids a taskbar button and an alt-tab menu item.
Gui, challen_mode: Margin, 0, 0
Gui, challen_mode: Color, 333333 ;#333333
Gui, challen_mode: Font, S10 Q5, Microsoft YaHei
Gui, challen_mode: Add, Text, hwndGui_10 vModeChallen c00FF00, Good Bye World ;#00FF00
GuiControlGet, P10, Pos, %Gui_10%
;Gui, challen_mode: Add, Progress, w100 h1 c00FF00 Background333333, 100
Gui, challen_mode: Add, Progress, w%P10w% h5 c333333 Background00FF00 vMyProgress Range0-40, 0
;Gui, challen_mode: Add, Progress, w100 h1 c00FF00 Background333333, 100
WinSet, TransColor, 333333 255 ;#333333
WinSet, ExStyle, +0x20 +0x8;
Gui, challen_mode: Show, NA
~*K::
SetTimer, timerex, 500
Return
timerex()
{
GuiControl, challen_mode: , MyProgress, +1
;GuiControl, challen_mode: , MyProgress, 50
Gui, challen_mode: Show, NA
GuiControl, challen_mode: +BackgroundcFF0000 +Redraw, MyProgress ;#FF0000
}
I am testing with unicode 64 bit, both AHK_L UIA and AHK_H
- Attachments
-
- Snipaste_2021-04-27_20-36-53.png (5.4 KiB) Viewed 629 times
-
- Snipaste_2021-04-27_20-36-34.png (5.34 KiB) Viewed 629 times
Re: Memory issue
i dont run UIA and ahk_h i wont comment on(could be bugged for all i know)
- Attachments
-
- ahk_memory.gif (277.78 KiB) Viewed 624 times
-
- Posts: 20
- Joined: 25 Mar 2021, 00:12
- Contact:
Re: Memory issue
no difference, both scripts(winspy) consume about 3megs
-
- Posts: 20
- Joined: 25 Mar 2021, 00:12
- Contact: