Reputation: 110600
Can you please tell me how android defines the max heap size for an application?
I am getting this:
W/dalvikvm( 2306): 58503184 byte allocation exceeds the 50331648 byte maximum heap size
I would like to know how/where android defines the max heap size?
Upvotes: 2
Views: 668
Reputation: 22371
It varies from device to device.
You can get the approximate per-application memory class of a device by running getMemoryClass()
Upvotes: 3