The Android program takes up a lot of memory when it runs, so I don't know how to release it.

clipboard.png
as shown in the figure, using memory analysis tools, you can see that the program takes up a lot of memory in both the java and native layers, especially in the native layer, which is increasing all the time. I don"t know how to solve it, and I can"t find out why it takes up so much memory

.

the Android system is based on Linux, which has most of the features of Linux., Android Native memory can be viewed with the view adb shell and then viewed with the ps command.
check here to see if there are any answers you need? https://blog.csdn.net/typenam.

Menu