I'm developing an android
Currently, when I run the APP, it starts by reserving 36.62 MB of memory.
I would like it to start at the top of 50.00 MB or, when it reaches its limit, add more memory.
Is there any way to set the initial memory of the main thread?
I know that when we declare a new Thread, we have been able to allocate a stack size for it, for example:
//https://docs.oracle.com/javase/7/docs/api/java/lang/Thread.html
//long stackSize define o tamanho da stack . . .
Thread(ThreadGroup group, Runnable target, String name, long stackSize)
But in the main Thread I do not know how to do
Would anyone guide me on this?