API GetAddOnMemoryUsage

Returns the memory used for an addon.
 mem = GetAddOnMemoryUsage(index or name)
==Arguments==
==Returns==
:;mem: - Memory usage of the addon in kilobytes.
==Details==
* This function returns a cached value calculated by ()
* This function will raise an error if a secure Blizzard addon is queried.
==Example==
Prints the memory usage for all addons.
UpdateAddOnMemoryUsage()
for i = 1, GetNumAddOns() do
	local name = GetAddOnInfo(i)
	print(GetAddOnMemoryUsage(i), name)
end
==Patch changes==