Android :: Memory Profiling For My Phone Application?
Apr 13, 2010
I have a requiirement of finding out the max RAM usage of my application. I tried installing the Memory Profilers in eclipse but I was not able to use it with my application. Please let me know how can I find the RAM usage of my application on the 'emulator'.
View 4 Replies
Jul 7, 2009
How do we profile an android application's memory ?
View 2 Replies
View Related
Oct 4, 2010
Can you please tell me how can I do memory profile for an android application? I want to find out how are the objects created and where did those created.
View 1 Replies
View Related
Aug 23, 2010
How do I find out how much memory my openGL application is using at any given moment, including sounds, textures, and everything else? I've been wrestling with DDMS for hours and all it seems to show me is basic object allocation counts. I must be missing something, but I haven't had any luck searching. LONG VERSION: I've got an otherwise operational beta Android game which crashes out after a while on my device (Droid X). I'm fairly sure my problem is that my textures are not being properly cleared from memory. I'd like to confirm this fact before I start blindly making changes. My game does fairly frequent level transitions. During these transitions I typically dump a texture file, wait a bit, then load a new one.
Over time the application performance degrades. After 10 or so transitions frame rate starts to take a nose dive. 10 or so more and it usually dies. Prior to dying I see log messages like this: 08-23 12:26:58.038: DEBUG/Cursor(1265): fillWindow is not executed because Cursor object is closed. 08-23 12:27:27.186: INFO/ActivityManager(1239): Low Memory: No more background processes. And then eventually: 08-23 12:27:46.952: INFO/ActivityManager(1239): Process com.thup.lunchbox (pid 4927) has died. There are no specific error messages of any sort. I've got lots of ideas for things to try to fix this (e,g, glDeleteTextures), but I really want a way to measure before I start trying to fix.
View 2 Replies
View Related
Feb 4, 2009
I've been running Eclipse on Mac OS X for android development. Since I'm new to eclipse I'm not sure how to profile my apps. Especially Memory usage. Could some one guide me to a direction please?
View 16 Replies
View Related
Jan 15, 2010
My game - Tower Raiders - is continually floating fairly close to running out of bitmap memory. Unfortunately, I haven't found good information on profiling bitmap memory usage so that I can optimize / make informed decisions / add new content if it allows / etc.
I'm aware that bitmap memory is not heap memory, as it's allocated natively. But that it is accounted for somehow in the VM and influences garbage collection. Maybe it's an oversimplification of how bitmap memory works - but I'd like to find a tool etc or some way of determining I as the game is running right now, there are no more than X bytes of usable bitmap memory remaining.
So, if anyone has any advice etc that would help me in these respects I would greatly like to hear about a workflow for this.
View 2 Replies
View Related
Aug 20, 2010
I'm the developer of PowerTutor, a power profiling tool for the system. This tool profiles the system power consumption and decomposes power consumption on hardware components (e.g. LCD, Wi-Fi, CPU and etc.). It also assigns power consumption to individual application as the application is running alone in the system. In this way, it could potentially help developers to profile the app and detect energy inefficiency usage behavior in the application.
More details could be found at http://powertutor.org.
Note that PowerTutor is free to download and no advertisement is embedded. I'm posting this here to so that the Android community can be aware of it. Any one who cares about power consumption of their applications will find it useful.
View 2 Replies
View Related
Mar 29, 2010
I started my emulator with ./emulator -trace profile -avd emulator_15. I then tracked down the trace files to ~/.android/avd/rodgers_emulator_15.avd/traces/profile, where there are six files: qtrace.bb, qtrace.exc, qtrace.insn, qtrace.method, qtrace.pid, qtrace.static. I can't figure out what to do with these files. I've tried both dmtracedump and traceview on all of the files, but none seem to generate any output I can do anything with.
How can I view the proportion of time taken by native method calls on Android?
View 2 Replies
View Related
Aug 12, 2010
This is my first Android device and my second SE phone.I have a question.
When i put application in the ''others'' folder of memory card,how do it access it on phone.
View 3 Replies
View Related
May 1, 2009
One of the new features mentioned in the 1.5 SDK is "Easier application performance profiling". Can somebody shed some light on what new profiling features are available in the new SDK? Are those enhancements to TraceView, DDMS, or new profiling APIs ?
View 2 Replies
View Related
Oct 6, 2010
I need to find where the bottlenecks are in my Android app.
What profiling tools or techniques can I use?
View 1 Replies
View Related
Dec 2, 2009
How to tell the installer intent to install on memory card or on phone memory ?
View 2 Replies
View Related
Jun 24, 2009
Can I use Eclipse TPTP (Test and Performance Tools Platform) to profile android applications?
View 2 Replies
View Related
Jul 10, 2010
iv got a x10i how do i transfer photos from phone memory to my memory card as i can't find an option do do this.
View 1 Replies
View Related
Sep 9, 2010
Not had my desire long but down loaded a few apps for it they all seem to be stored on phone memory not the sd card. what is stored to the sd card seems to be unused so far. do you have to set it up to use sd card or does it know one is fitted. does it switch to sd card when phone memory full. will run out of space soon if can't get things to store to card instead of phone mem.
View 5 Replies
View Related
Aug 19, 2010
Every time I download a app it installs in phone memory and not internal memory.Where is the settings for this? I am switching over from windows mobile phone to my new incredible
View 1 Replies
View Related
Sep 16, 2010
I need help to get my apps to the memory card instead of phone memory, how do I do that?
View 2 Replies
View Related
Apr 27, 2010
how can you tell where an app is being downloaded to? is everything set to download to the sd card?if not what is set to download to the phone memory? i'm guessing phone back ups and settings?
View 3 Replies
View Related
Feb 22, 2010
My application uses a single activity to switch between different views. I premise I'm loading a good amount of bitmaps in one of this view (say the gamescreen view) constructor but I recycle everything on the onDetachedFromWindow method.All the Bitmaps are static and most of them loaded with BitmapFactory. decodeResource method.Furthermore I'm using a gallery wich content is a simple layout with eight imagebuttons.I know all the complications using this widget and all the risks of using static bitmaps, but, I guess my problem does not entail them because my application is running well if I try to switch between these two view (and I've tried to do it about 30 times without crashes!!!) but when I pause and resume the application two times (pause->resume->pause->resume) I run out of memory, and often without the crash message (it just stays on the actual view).
View 13 Replies
View Related
Jan 25, 2010
I am getting a "bitmap size exceeds VM budget" error. I have read that there is a 16MB memory limit. In this thread Romain Guy says that "you can only allocate 16 MB of memory for your entire application".
However, my app must be running out of memory long before it reaches that limit. So my question is: how do I allocate memory to my application ... how can I get the allocation to my app increased (within the 16MB maximum)?
View 3 Replies
View Related
Nov 18, 2010
My question may look naive but I do not know how to formulate it more correctly. The problem is that I create and use large simple type arrays in my application.
And I get errors like: ERROR/dalvikvm-heap(1763): Out of memory on a 7907344-byte allocation.
Yes, it's big enough but task management tools claim that my application is using only 30MB of memory, while other at the same time use 50MB and even 110MB (have seen once) and there is still 190MB of free memory in the system (not system applications, just other ordinary applications I have installed). If all applications are provided with the same heap size at startup how can they grow so big?
View 1 Replies
View Related
Oct 8, 2010
I was trying to download application from OTA server on my device but fails as SDCard is not present in it.Is it possible to download application in device memory?
View 1 Replies
View Related
Nov 24, 2009
I am experiencing a memory / resource leak on a T-Mobile G1 device with my application. I installed the "Task Manager" application from Android market and my memory usage is not monotonically increasing. It stays relatively flat over time. Furthermore, none of the other processes are chewing up tons of memory either (really, I can get into this state with just my app running). I am not experiencing this problem on any of the other Android phones (including Eris, Hero, and Droid).
The interesting thing is that if I kill my application, the phone is *still* very slow and sluggish. The only thing that seems to be able to get me out of this situation is a battery pull. If I run my application for about 3 hours, the phone starts to become very sluggish. Even simple operations like hitting the "home" button take many seconds. I'm not sure what to do at this point and am wondering where I can go from here.
View 3 Replies
View Related
Sep 4, 2009
I have an application in Java-side, and it uses some "SO" files in native-side. How to calculates the memory usage of my application, in Java-side and native-side both? Does Android provides toolkit to calculates the memory usage of application?
View 5 Replies
View Related
Jun 8, 2010
I am trying to get the memory usage for every application at different periods of time. I have checked the docs / threads / forums, and i only found that you can get the total available memory value, but i could not find in the sdk an api call for getting the memory used by a single application. I know that one way to do this is by reading the values from /proc/ <pid> virtual file system but this is painful for the device cpu. Can you help me figure out how to solve this problem ? Or does anyone know how settings -> applications -> manager applications read the memory usage values.
View 2 Replies
View Related
Feb 19, 2010
how I can find the memory used on my Android application, programmatically. I hope there is a way to do it. Plus I would like to understand how to get the free memory of the phone too.
View 3 Replies
View Related
Aug 28, 2010
What is the maximum memory limits per application for Android 2.2?
View 3 Replies
View Related
Aug 5, 2010
Is android's memory 16MB limit per Process or Application? If the limit is by process, I can make some services remote. That means the service will be in different processes, and the limit will be 16 x N.
View 3 Replies
View Related
Mar 1, 2010
I have a problem with my application, and it's about a Virtual memory error: ERROR/AndroidRuntime(19790): java.lang.OutOfMemoryError: bitmap size exceeds VM budget
The story is like this: I have an activity (let's call it A), the user click on a button from this activity, then i will make an api call somewhere in the internet, and after the result is back i start a subactivity (let's call it B).
In the activity B i have to dinamicaly load some images from the resources folder. I load the images into bitmaps -> drawables -> imageviews. After the user click's on some buttons i have to setResult(..), finish(), and get back to activity A.
The thing is that, goes from activity A to B, then B -> A, then A -> B for a few times, my app crashes with the message above: it doesn't have enough memory to load the interface.
I can not maintain the activity B on the stack because i don't want the user to go to this activity without going through activity A first.
View 2 Replies
View Related
Oct 17, 2010
Does anybody know how to transfer apps from internal memory to the sd card?
View 4 Replies
View Related