android-memory Questions
6
Solved
I am quite curious about this question concerning the memory management of the Android operating system so I hope for a quite detailed answer on that topic.
What I would like to know:
What is th...
Betrothal asked 7/9, 2013 at 16:40
1
I am having a lot of UnknownHostException thrown and the app is disconnected from the internet completely, this issue is happening in multiple apps I am working on the issue happens on Samsung and ...
Packard asked 19/9, 2022 at 14:8
3
Can Android kill the activity without killing the entire process while the app is in the background?
I'm wondering if Android system is able to kill the activity without the entire application process while the app is minimized. From Android documentation we know that onDestroy is only called when...
Lorenlorena asked 20/7, 2020 at 20:52
3
Having a shared element animation and also a custom enter animation causes the activity to leak.
Any idea what might be the cause?
09-21 16:19:31.007 28269-31066/com.sample.android D/LeakCanary...
Poacher asked 21/9, 2015 at 14:40
4
Solved
I am developing a simple android apllication and just completed the home screen. Now if the orientation of the screen changes more than two times, it is throwing the error and application is gettin...
Stank asked 21/10, 2012 at 8:32
2
Solved
Hi I am unable to view the allocated memory for my application when running the app on a real device/emulator, The profiler shows Allocated as N/A
below is the screenshot on how it looks,
I am ...
Impale asked 2/6, 2019 at 18:43
6
Solved
I have an application with large number of classes & also many libraries are included, I am setting android:largeHeap="true" as i am getting memory issue, My Manifest file code is att...
Chaetognath asked 10/12, 2014 at 9:2
0
I have a audio recording in multiple files. I am creating one continues audio file using com.googlecode.mp4parser:isoparser:1.0.2 library.
Below is my code :
String mediaKey = isAudio ? "soun" : ...
Calamint asked 30/10, 2017 at 6:55
2
I am trying to get an .hprof file using the 'dump java heap' button in Android Studio memory monitor, but for some reason no .hprof file is generated. Does anybody know why? Allocation Tracking wor...
Jp asked 18/7, 2016 at 6:0
4
Solved
Eclipse has a powerful memory analyzer tool: MAT.
Does Android Studio have such a powerful tool, too ?
p.s. I have found a "Allocation Tracking" in the Android DDMS page.
And I also know the "Me...
Pockmark asked 11/3, 2015 at 7:26
2
Solved
As you may know it is not possible to draw an oval radial gradient using regular Android API.
This is what I want to achieve:
So I implemented this solution: draw a regular radial gradient on ...
Chipmunk asked 25/11, 2016 at 19:29
1
Solved
From time to time I use the Memory Monitor and HPROF Viewer in Android Studio to check for any memory leaks and memory usage in general.
I believe I know the meaning of most symbols and colours us...
Burden asked 5/8, 2016 at 7:58
2
Solved
I have a Fragment which has a RecyclerView.
In this RecyclerView, I may occasionally download and display images (loaded with Glide into ImageView.
So when I open the Fragment, used memory may so...
Create asked 26/7, 2016 at 14:10
2
Solved
I'm developing an app, which has a LoginActivity with a Google plus sign-in button.
I've already Enabled the Google+ API in Google's api console and made an Oauth account.
Here is the relevant part...
Kure asked 4/12, 2013 at 19:12
5
I get a strange Out of Memory error decoding a drawable image resource 960x926px jpg, allocating 3555856 byte.
The image is placed only in drawable-xxhdpi (3x) and I am using a hdpi (1.5x) device....
Sinegold asked 18/3, 2016 at 17:26
1
Solved
When building my first Android app I noticed that memory usage was already approaching 20MB right when the app started. I downloaded the Eclipse MAT and viewed the contents to find hundreds, if not...
Actionable asked 18/4, 2016 at 16:12
1
Since AsyncTask was introduced in Cupcake (API 3, Android 1.5) in 2009, it has been consistently promoted by the Android team as simple:
"Painless threading"
"an easy way to execute some work in ...
Getraer asked 13/3, 2016 at 13:51
3
Solved
I am seeing inconsistent documentation and discussion regarding what happens when Android is low on memory and the steps the OS takes to re-claim memory. More specifically, does Android kill at the...
Acetophenetidin asked 17/1, 2016 at 2:32
7
Solved
I have a launcher Activity that load and resize big bitmap as it's background when it opens.
Whenever hit the back button, the Activity is destroyed. But I think the memory is not released yet.
...
Allergic asked 22/12, 2015 at 6:14
2
Solved
I'm new to android and I read a book for beginners which said that onSaveInstanceState(Bundle) is ensured to be called before the system reclaims your Activity.
I tried it on some test codes and f...
Gowan asked 24/8, 2015 at 7:8
0
I am trying to reduce the memory usage of my app.I started by fixing memory leaks in my code.This reduced the Dalvik heap space considerably but no difference in the native heap space allocated.
I...
Widower asked 10/12, 2015 at 13:10
1
Solved
In my Android application the requirement is to fetch the images from the server and cache them into the heap memory.
On receiving the request, the server first encodes the byte[] into Base64Strin...
Mcnew asked 7/8, 2015 at 10:20
1
I was looking at the output given below for the command
adb shell dumpsys meminfo com.imangi.templerun
However, I am not able to understand this properly.
Can anybody help me understand this?
...
Gonsalez asked 6/11, 2014 at 9:44
1
Solved
I keep having the following memory leak as displayed by LeakCanary, when I go from my splash screen to the mainactivity. I understand that this is an expected leak due to fault in the Android OS it...
Footton asked 22/5, 2015 at 12:58
1
I am developing an android application. In which i am trying to find out the memory leaks using MAT for the first time. I refereed following link.
Link
Till the step 3 its working. But when i try...
Compact asked 3/12, 2014 at 8:56
1 Next >
© 2022 - 2024 — McMap. All rights reserved.