Skip to content Skip to sidebar Skip to footer

Does Android Application Memory Limit Apply To Entire App Or Per Process Of App?

I am having an issue hitting the memory limit of my application. My question is if I break my application into a few processes will this allow each process to get a 24mb limit or w

Solution 1:

If Android follows Oracle's heap space guidelines for Java, it says: "Maximum heap size depends on maximum address space per process." Tuning The Java Heap

If you are able to break your application into a few process, you might be able to get more than 24MB.. The only thing I can see not letting you do this would be an Android security feature to prevent malicious application from forkbombing the phone..

Here is an article by Matt Clark about good programming habits to be efficient with your 24MB of heap space.. Developing Apps Within Android's 16MB Memory Limit

Hope this helps, good luck!

Post a Comment for "Does Android Application Memory Limit Apply To Entire App Or Per Process Of App?"