java - Heap size issue in android app -


I have an app that starts an initial service, the manager uses classes (which in these single singles The class loads all the required data from SQLite). And DDS, the size of the pile is 7.00 MB for my app, while my app consumption is a heap of 5.80 MB. Just left around 1.20 MB. And this happens when my app does not have much data, how to fight againts such a problem? Please help!

If you do not know how the stack you have used in the application to find it in DDS memory Use the analyzer. This plugin, which can be integrated to accept, will show you which process is more piled up and you can track it down and make improvements.

  1. If unused bitmaps are not clean, then the garbage collector will not clear those memory and it's too stack in runtime.

  2. Really burn when you do not move the unused object of moderator, recorder, bitmap, and vedio processor.

I do not know what the exact functionality of your app is if you have used it in your app, please check one of these components. I think it may be due to the hep memory conception, try to clean it by clearing all unused objects.


Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -