ObjDump does not release memory

Post AHK_H specific scripts & libraries and discuss the usage and development of HotKeyIt's fork/branch
arcticir
Posts: 694
Joined: 17 Nov 2013, 11:32

ObjDump does not release memory

07 Feb 2020, 17:44

loop-10: 3M
loop 10000 12M
It doesn't seem to release the memory completely

Code: Select all

LOOP 10000
{
t:=	{"from": 2625636,"func": "ahkgetvar","ps": ["tt"],"reply": 10354448}
size:=ObjDump(t,bin)

}
MsgBox
HotKeyIt
Posts: 2364
Joined: 29 Sep 2013, 18:35
Contact:

Re: ObjDump does not release memory

08 Feb 2020, 18:54

This has been fixed now, thanks for reporting ;)
arcticir
Posts: 694
Joined: 17 Nov 2013, 11:32

Re: ObjDump does not release memory

08 Feb 2020, 21:53

ObjLoad needs fixed.

Code: Select all

LOOP 100000
{
t:=	{"from": 2625636,"func": "ahkgetvar","ps": ["tt"],"reply": 10354448}
size:=ObjDump(t,bin)
r:=ObjLoad(&bin,size)
}
MsgBox
arcticir
Posts: 694
Joined: 17 Nov 2013, 11:32

Re: ObjDump does not release memory

08 Feb 2020, 22:22

A very strange bug :shock:

Code: Select all


UnZipRawMemory(LockResource(hr:=LoadResource(0,s:=FindResource(0,"F903E44B8A904483A1732BA84EA6191F",10))),SizeofResource(0,s),a_dllRes),FreeResource(hr)

MsgBox ov([])
ov(f){

arr()
	arr(){
		MsgBox type(f)	;str

	}

}
HotKeyIt
Posts: 2364
Joined: 29 Sep 2013, 18:35
Contact:

Re: ObjDump does not release memory

09 Feb 2020, 10:00

ObjLoad memory leaks are fixed and #DllImport bug too, thanks for reporting ;)

Return to “AutoHotkey_H”

Who is online

Users browsing this forum: No registered users and 47 guests