How many heap space takes array object? I mean not a array reference. For example how many heap space will take this array
Integer[] array = new Integer[5];
Or perhaps you know some ways how I can to test memory usage of my application? Any suggestions and advices will be appreciated)
Thanks in advance!