Forums - App memory problem

1 post / 0 new
App memory problem
Join Date: 28 Apr 18
Posts: 1
Posted: Wed, 2018-05-02 03:11
Hello everyone,
I simply ask why I can't assign any more memory when achieving 1GB of RAM on a gadget with 2GB of RAM.The application is exceptionally calculation intesive and it is created utilizing Android NDK r9 and tried on Samsung Note 3.I must call attention to that before running my application there is around 1.6GB free of RAM, so there is sufficient memory to designate more than 1GB.Then I start allocating memory by loading objects in to my app using dlmalloc(). When reaching 1GB of memory dlmalloc fails as if it reached maximum heap memory, or address space and the app crashes of course. I have heard that there are many apps comes with App Explainer videos, but i didn,t any solution for this app.So can anybody share some knowledege about this. Is there maybe a heap size limit for each process/app?? Where or how can I check these limits?? I know about Java Virtual machine limits 25 or 50 MB or somtimes 250 MB, and I do not think this is an issues, as I work in native code (NDK)
Any help will be appreciated!!!!
Thank you.
  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.