﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
2498	High Memory Consumption	Tasiro		"{{{
Const $fill_size = 2 ^ 24 ; change should be visible in task manager

Func test ()
	Local $arr [$fill_size]
	MsgBox (0, """", ""Ready?"")
	$arr [0] = $arr
	MsgBox (0, ""1/2 times"", ""Ready?"")
	$arr [1] = $arr
	MsgBox (0, ""2/3 times"", ""Ready?"")
	$arr [2] = $arr
	MsgBox (0, ""3/4 times"", ""Ready?"")
	$arr [3] = $arr
	MsgBox (0, ""4/5 times"", ""Ready?"")
	$arr [4] = $arr
	MsgBox (0, ""5/6 times"", ""Ready?"")
	Return $arr
EndFunc

Func test2 ()
	Local $arr [$fill_size]
	MsgBox (0, """", ""Ready?"")
EndFunc

MsgBox (0, """", ""Start"" & @CRLF & ""- open the task manager"")
test2 ()
MsgBox (0, """", ""Free"")
test ()
MsgBox (0, """", ""End"")
}}}
Memory usage differs between v3.3.9.21 and v3.3.8.1. (v3.3.9.21 with GC?)

Why is so much memory consumed? When exactly was something copied? When assigning a value? When returning a value? When passing a value as an argument? '''When not?''' Please update the documentation."	Bug	closed		AutoIt	3.3.9.21	None	No Bug	memory, nested array	
