Memory allocation
in
Android Processing
•
2 years ago
Hi guys!
I'm currently coding a game for android with processing.
The installation (apk) is about 7.4 mb.
There are about 6 mb of media files (mostly png's and a few mp3's).
I've made a heap dump and it says the heap is around 17mb. Okay this makes sense, the pngs are no longer packed while the game is running etc.
However, when I start a task manager program on my phone, while my game is running, it says it uses 54mb of memory (right after starting the game, and later, when the images were displayed up to 77mb)
Is that normal?
Greets.
I'm currently coding a game for android with processing.
The installation (apk) is about 7.4 mb.
There are about 6 mb of media files (mostly png's and a few mp3's).
I've made a heap dump and it says the heap is around 17mb. Okay this makes sense, the pngs are no longer packed while the game is running etc.
However, when I start a task manager program on my phone, while my game is running, it says it uses 54mb of memory (right after starting the game, and later, when the images were displayed up to 77mb)
Is that normal?
Greets.
1