Markus Krainz - 2012-05-07

Hi!

I get strange results when fetching the deep size of an ArrayList
SizeOf.deepSizeOf(arrayList);
returns 19304 while
SizeOf.deepSizeOf(arrayList.toArray())
returns 5765976.

Why is that? Am I doing something wrong or is this a bug?
Would be glad to provide more information.