Thursday, May 2, 2013

[android help] Why does empty project have large memory allocation?

java - Why does empty project have large memory allocation? - Stack Overflow







Tell me more ×

Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

















I created an empty project in android. Then I ran it with an emulator that has hardware acceleration. enter image description here


50% is already allocated. and of those the smallest free chunk of memory is a measly 174 KB.


Why is this?


























Because the VM hasnt allocated more. If your memory footprint grows so will your heap size. If I remember correctly hardware acceleration also pulls some part of the renderer into your process which is why as much as 2.5 MB is already used.



By rendering all of an app’s animations and UI with the GPU, the system takes a hit to memory usage. Loading up the OpenGL drivers for each process takes memory usage of roughly 2MB,



http://www.extremetech.com/computing/107995-the-truth-about-hardware-acceleration-on-android























lang-java






.

stackoverflow.comm

No comments:

Post a Comment

Google Voice on T-Mobile? [General]

Google Voice on T-Mobile? So I recently switched from a GNex on Verizon to a Moto X DE on T-Mobile. I had always used Google Voice for my v...