4

I understand most Android devices have a 16mb limit (24mb on Nexus One) on the Java heap size. Is there any way a single app can use more memory than that? I know the native SDK doesn't have this limitation but I'd like to stick with Java.

XXX
  • 8,996
  • 7
  • 44
  • 53
Sarevok
  • 437
  • 1
  • 7
  • 20

1 Answers1

9

No you cannot use more memory.

Romain Guy
  • 97,993
  • 18
  • 219
  • 200
  • 2
    You can allocate as much as you want from native code yes. It's not recommended though, you should play nice with other apps. – Romain Guy Jul 09 '13 at 18:26