[android-developers] OutOFMemoryError (UNEXPECTED TOP-LEVEL ERROR [ GC overhead limit exceeded/java.lang.OutOfMemoryError: Java heap space])while running the dex command using ANT script

2017-08-26 Thread Haidar Ali
While running the below command to convert jar to dex or multidex, I am getting below error, Command : dx.sh --dex --multi-dex --output=. Test.jar UNEXPECTED TOP-LEVEL ERROR: java.lang.OutOfMemoryError: Java heap space 2017-08-24, 13:48:21 ERROR

[android-developers] OutOfMemoryError

2011-11-24 Thread bob
OutOfMemoryError I'm getting this OutOfMemoryError: 11-24 00:38:10.925: ERROR/dalvikvm-heap(1782): 144-byte external allocation too large for this process. 11-24 00:38:10.965: ERROR/GraphicsJNI(1782): VM won't let us allocate 144 bytes 11-24 00:38:11.205: ERROR/AndroidRuntime(1782):

Re: [android-developers] OutOfMemoryError

2011-11-24 Thread Johan Rydenstam
Are you using different resources for the tablet (like hdpi?). I would check for memory leaks. There are tools you can use for this ( Eclipse memory analyzer) On Nov 24, 2011, at 9:51 AM, bob wrote: OutOfMemoryError I'm getting this OutOfMemoryError: 11-24 00:38:10.925:

Re: [android-developers] OutOfMemoryError

2011-11-24 Thread Francisco Dalla Rosa soares
I don't have the link right now but I read somewhere that if you want to allocate more memory (especially for images) you can just allocate them as opengl textures as those don't count as heap memory. I'll try to find the link and get some more detailed info to you. 2011/11/24 Johan Rydenstam

Re: [android-developers] OutOfMemoryError

2011-09-05 Thread NWD Sports
The AVD Manager correlates the amount of storage on the device to the amount of RAM. From: TreKing Sent: Sunday, September 04, 2011 10:35 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] OutOfMemoryError On Sun, Sep 4, 2011 at 9:18 PM, NWD Sports nwdspo

Re: [android-developers] OutOfMemoryError

2011-09-05 Thread TreKing
On Mon, Sep 5, 2011 at 12:30 PM, NWD Sports nwdspo...@hotmail.com wrote: The AVD Manager correlates the amount of storage on the device to the amount of RAM. It does? I see a section for SD Card size and a section for Hardware, one of which is the device Ram size, and you set them both

Re: [android-developers] OutOfMemoryError

2011-09-05 Thread NWD Sports
Subject: Re: [android-developers] OutOfMemoryError On Mon, Sep 5, 2011 at 12:30 PM, NWD Sports nwdspo...@hotmail.com wrote: The AVD Manager correlates the amount of storage on the device to the amount of RAM. It does? I see a section for SD Card size and a section for Hardware, one of which

Re: [android-developers] OutOfMemoryError

2011-09-05 Thread TreKing
On Mon, Sep 5, 2011 at 2:21 PM, NWD Sports nwdspo...@hotmail.com wrote: Yes on my version of the SDK manager for some reason increasing SD card size increases the RAM size as well. I don’t know why but that is what I assumed it did for everyone. Sorry for any confusion. Interesting. Thanks

Re: [android-developers] OutOfMemoryError

2011-09-04 Thread NWD Sports
Developers Subject: [android-developers] OutOfMemoryError I'm getting an OutOfMemoryError. Is there any way to increase the amount of memory my app can use? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] OutOfMemoryError

2011-09-04 Thread TreKing
On Fri, Sep 2, 2011 at 6:55 PM, NWD Sports nwdspo...@hotmail.com wrote: Yes. Go to the AVD manager and find the virtual device you use to debug on. Set the SD card size to a higher value. you shouldn't run into the problem again. I think you missed the OP's problem ... this has nothing to do

Re: [android-developers] OutOfMemoryError

2011-09-04 Thread NWD Sports
on an Android Virtual Device. From: TreKing Sent: Sunday, September 04, 2011 4:21 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] OutOfMemoryError On Fri, Sep 2, 2011 at 6:55 PM, NWD Sports nwdspo...@hotmail.com wrote: Yes. Go to the AVD manager and find the virtual

Re: [android-developers] OutOfMemoryError

2011-09-04 Thread TreKing
On Sun, Sep 4, 2011 at 9:18 PM, NWD Sports nwdspo...@hotmail.com wrote: If I read it correctly, than changing the size of the SD card would matter because that is the amount of space that the AVD manager allocates to the specific AVD for app implementation on an Android Virtual Device. How

[android-developers] OutOfMemoryError

2011-09-02 Thread bob
I'm getting an OutOfMemoryError. Is there any way to increase the amount of memory my app can use? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from

Re: [android-developers] OutOfMemoryError

2011-09-02 Thread Mark Murphy
On Fri, Sep 2, 2011 at 7:43 PM, bob b...@coolgroups.com wrote: I'm getting an OutOfMemoryError.  Is there any way to increase the amount of memory my app can use? Not for pre-Honeycomb, and even on Honeycomb it's not the sort of thing you want to be doing, because it may irritate your users for

[android-developers] OutOfMemoryError in Google Maps' ZoomHelper.createSnapshot

2011-07-19 Thread navtej
I have an application that uses the Google Maps MapView component and I've found that this crash is far and away the most common report in my market publisher dashboard. I'm not sure what I can do about it aside from reducing my own memory consumption. I know that will help some, but it doesn't

[android-developers] OutofmemoryError

2011-04-26 Thread subhashini alaguchokku
Hi! Im got BitmapSize exceeds VM budget outof memory error. any one have idea? how to clear the memory.here i loaded the too many gallery image. Thanks and Regards, Suba. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] OutofmemoryError

2011-04-26 Thread Kapil Lokhande
Hi suba, I think you have to compress images and make them small size images. This error is only comes on some of the android devices. -- Thanks Regards, Kapil Lokhande | Dexter Advisory Pvt. Ltd. http://dexterltd.com/ | Android Developer [image: dexterlogo.jpg] On Wed, Apr 27, 2011 at 10:13

[android-developers] OutOfMemoryError- while to download big data and storing in db4o

2011-04-13 Thread imran ali
Hi all, in my application i have to download big data approx 20MB text and after parsing i have to save in db4o for that i have been making lots of object of classes, i am doing all thing in separate thread and after use of object immediately i am giving null vales to all objects. still after

[android-developers] outOfMemoryError

2011-03-29 Thread vani reddy
I am getting the outOfMemoryError,bitmap size exceeds the virtual machine budget i am doing the below public void getBitmap1(String str) { InputStream is =null; try { URL myFileUrl =new URL(str); HttpURLConnection conn= (HttpURLConnection)myFileUrl.openConnection(); conn.setDoInput(true);

Re: [android-developers] outOfMemoryError

2011-03-29 Thread sukumar bhashyam
Try recycling the unused bitmap. Not sure why do you need to store the all bitmaps in ArrayList. There could be a memory leak. Analyse the memory usage of your application. Check here for more info ( http://android-developers.blogspot.com/2011/03/memory-analysis-for-android.html) . On Tue, Mar

[android-developers] OutofMemoryError on Thunderbolt: HttpClient.execute

2011-03-29 Thread Nathan
I am getting reports of an OutofMemoryError in AbstractSessionInputBuffer using HttpClient.execute. Coincidentally, all those who have personally emailed me have the HTC Thunderbolt. I've run allocationtracker and stuff, but it has been of limited use when I can't reproduce the problem. Yes, I

Re: [android-developers] OutofMemoryError on Thunderbolt: HttpClient.execute

2011-03-29 Thread Mark Murphy
http://stackoverflow.com/questions/5358014/android-httpclient-oom-on-4g-lte-htc-thunderbolt HTC, for unknown reasons, messed up the buffer size. If you set it yourself, the problem goes away. On Tue, Mar 29, 2011 at 4:16 PM, Nathan critter...@crittermap.com wrote: I am getting reports of an

Re: [android-developers] OutOfMemoryError

2010-10-18 Thread Julie Andrews
Which is the longest word in English? Smiles – Because a ‘mile’ exists between the two S’s. While that is a good answer to the riddle, the actual longest English word is ‘floccinaucinihilipilification’- which means’to describe something as worthless, or turning something into being worthless by

[android-developers] OutOfMemoryError

2010-10-14 Thread Lisa
please help me. 。゜゜(´□`。)°゜。 I am using android 1.6. my code to release a bitmap looks like this: if (imageBG != null) {   imageBG.recycle(); imageBG = null; } but when I do get to the following error: (u_u,) 10-14 11:36:52.069: ERROR/AndroidRuntime(618): Uncaught handler: thread main

Re: [android-developers] OutOfMemoryError

2010-10-14 Thread Kumar Bibek
You might need to scale the Bitmap so that it doesn't use of a lot of memory. Follow this link, you might get an idea here. http://stackoverflow.com/questions/3331527/android-resize-a-large-bitmap-file-to-scaled-output-file On Thu, Oct 14, 2010 at 5:42 PM, Lisa lpk...@gmail.com wrote: please

[android-developers] OutOfMemoryError

2010-10-13 Thread Lisa
Hi, My name is Lisa . I am studying Android development. So I have a problem It immediately has trouble with memory. In the LogCat this error is displayed, java.lang.OutOfMemoryError: bitmap size exceeds VM budget I'm using recycle () and System.gc () but I get the same error. My

[android-developers] OutOfMemoryError with Bitmap

2010-07-22 Thread ReyLith
Hi, I'm developing an image editor for Android. When I do some operations with small pictures (600x600 - 1024x768), the program work well. But when I do some opeations with big pictures, I always obtain an OutOfMemory Error. I read read many post trying to have the image in memory. Also I looked

[android-developers] OutOfMemoryError

2010-06-10 Thread svebee
hello, as I'm beginner in Android I have problem with memory - after only 2-3 minutes I get Force Close and outOfMemory Error. I have only onCreate (I know, stupid, but I didn't knew for anything else as I started only few weeks ago) and inside I have... @Override public void onCreate(Bundle

Re: [android-developers] OutOfMemoryError

2010-06-10 Thread Adrian Vintu
What does logcat say? see http://developer.android.com/intl/de/guide/developing/tools/adb.html and http://www.adrianvintu.com/blogengine/post/Colored-Logcat-Script-for-Windows.aspx if you don't know what logcat is. BR, Adrian Vintu http://www.adrianvintu.com On Thu, Jun 10, 2010 at 4:28 PM,

[android-developers] OutOfMemoryError: how best to transfer large video files into a byte array?

2010-04-08 Thread Anna PS
Apologies for cross-posting with StackOverflow, but I'm getting a bit desperate. I'll cross-post any final answer too. Please could anyone suggest an approach for transferring a 2MB video from a ContentResolver into a Bytestream, without running out of memory? See question:

Re: [android-developers] OutOfMemoryError: how best to transfer large video files into a byte array?

2010-04-08 Thread Abdul Mateen
It tried very much on this, but I had to gave up, it seems not possible as far as I think, lets get the experts reply. On Fri, Apr 9, 2010 at 1:58 AM, Anna PS annapowellsm...@googlemail.comwrote: Apologies for cross-posting with StackOverflow, but I'm getting a bit desperate. I'll cross-post

Re: [android-developers] OutOfMemoryError: how best to transfer large video files into a byte array?

2010-04-08 Thread Mark Murphy
Anna PS wrote: Apologies for cross-posting with StackOverflow, but I'm getting a bit desperate. I'll cross-post any final answer too. Please could anyone suggest an approach for transferring a 2MB video from a ContentResolver into a Bytestream, without running out of memory? 1. Why are you

[android-developers] OutofMemoryError: bitmap size exceeds VM budget.....

2009-12-17 Thread Abhi
Hi, I am doing the following in my app, which at times results in the above error. Action 1: Button on Main activity calls all pictures using ACTION_PICK (results in a thumbnail view of all pictures on my phone). User picked image (URI) is then passed over to next activity where the image is

Re: [android-developers] [OutOfMemoryError] How to release Drawable object from memory ?

2009-11-28 Thread nada fatma
The Light Of Truth [align=left]What is life? Man's existence in this world and the creation of this entire universe are not mere accidents or products of a fortuitous nature. This universe, every single atom of

[android-developers] [OutOfMemoryError] How to release Drawable object from memory ?

2009-11-26 Thread Syl
In my application, user can click on a button and then he can select a picture from his gallery. This image is then displayed. However, when the user performs 3 or 4 times this operation, the following exception is thrown, due to memory allocation problem : 11-26 18:31:34.119:

[android-developers] OutOfMemoryError

2009-06-19 Thread Francois
Hello all, For my project (quite a big project), an Android application create, I need to compile the sources from a command line. So I have followed the explanations found in the dev guide. I have set JAVA_HOME to a short directory name, and created the project with the Android command. When I

[android-developers] OutOfMemoryError at BitmapFactory.decodeByteArray

2009-06-08 Thread loril...@gmail.com
I get a OutOfMemoryError at BitmapFactory.decodeByteArray when bitmap size is large; Following is the code snippet: BitmapFactory.Options options = new BitmapFactory.Options(); options.inSampleSize = 8; Bitmap bitmap = null; bitmap = BitmapFactory.decodeByteArray(data, 0,

[android-developers] OutOfMemoryError, but there's lots of memory?!

2009-06-06 Thread Keith Wiley
My app is building a relatively large structure (large being a term that is meaningless without context), and I am getting an OutOfMemoryError. Problem is, I'm watching the memory using every metric I can think of, and I don't see how the error was triggered. It's obviously trying to allocate a

[android-developers] OutOfMemoryError when changing screen orientation

2009-05-08 Thread geopicmob...@googlemail.com
Hi, I get an OutOfMemoryError every time i change the screen orientation and I am having a hard time finding the mistake... The Activitie's view consists of an ImageView, two Buttons and a Spinner. I don't have static variables and can't imagine where i could leak a context. Most of the times,

[android-developers] OutOfMemoryError from BitmapFactory

2009-05-01 Thread Ward Willats
At 2:35 PM -0700 4/30/09, fadden wrote: The hprof dump can help with that. I added a quick writeup: http://android.git.kernel.org/?p=platform/dalvik.git;a=blob_plain;f=docs/heap-profiling.html;hb=HEAD Thanks -- I used hprof with a previous layout leakage problem, and I think it is a huge turd

[android-developers] OutOfMemoryError from BitmapFactory

2009-04-30 Thread Ward Willats
At 11:23 AM -0700 4/30/09, fadden wrote: It's possible that it didn't actually jump back down. The event log shows results from all running processes, not just your app, so you may be seeing output from other things mixed in. Ah, OK. Now I see a steady increase in my limit and allocs from 1.1

[android-developers] OutOfMemoryError from BitmapFactory

2009-04-30 Thread Ward Willats
Thanks for these tips. At 1:14 PM -0700 4/30/09, Streets Of Boston wrote: In my app, i've been dillegently 'unloading' bitmaps when i need memory. - clear any bitmap cache I assume you mean any of my own bitmap caches... So far, this scheme has served me well. Before i got a lot of OOM-

[android-developers] OutOfMemoryError from BitmapFactory

2009-04-29 Thread Ward Willats
I'm going to try to throw something together in python or C that does the number-crunching on the log. Well, I'm as old as Mark Murphy for cris'sake, so I like to use AWK for things like this, which seemed a good idea until I remembered it doesn't support infix bitwise operators. Doh! Guess

[android-developers] OutOfMemoryError from BitmapFactory

2009-04-29 Thread Ward Willats
At 10:26 PM -0700 4/28/09, fadden wrote: Well, that's the interesting question: how much memory are you *actually* spending on bitmaps? While I wait for a crash I can measure, my colleague here points out we use a lot of 9 patches as backgrounds for various fields on our screens. If they go

[android-developers] OutOfMemoryError from BitmapFactory

2009-04-28 Thread Ward Willats
At 12:05 PM -0700 4/28/09, Jon Webb wrote: I have a clue -- the OutOfMemoryError went away when I set debuggable to false. Does that help? No joy here, I'm afraid. I really hoped this would be it. (Debuggable changing garbage collection behavior or something...) I just happened to have a

[android-developers] OutOfMemoryError from BitmapFactory

2009-04-28 Thread Ward Willats
Thanks for this excellent explanation. Weird parallel universe indeed! So, right in the onCreate() of my application object, I went and allocated an 8MB array of bytes, causing the heap to grow to 10MB. I then null the array ref and call gc(), which freed up the allocation but left the heap

[android-developers] OutOfMemoryError (external allocation too large for this process)

2009-04-02 Thread zeeshan
Hi Experts, I am beating my head against a wall since 3 days trying to resolve out of memory exception but still no success. here is the line giving me this error image_view.setImageURI(image_uri); everytime when i change the orientation or start this activity again, it gives me out of

[android-developers] OutOfMemoryError when scrolling ListView

2009-01-29 Thread muckwarrior
I'm having problems with ListViews in my application. I thought everything was fine until I noticed that if I scrolled up and down through the list quickly a number of times, sooner or later the app would crash with an OutOfMemoryError. When I searched for the error I noticed a number of posts

[android-developers] OutOfMemoryError BitmapFactory.nativeDecodeByteArray inside Threads

2008-12-14 Thread plusminus
The following situation happens only in a few cases, but it does more than once. - I'm receiving several OutOfMemoryError in BitmapFactory.nativeDecodeByteArray. DDMS-Heap-View never broke the 16MB barrier. I can't even get it above 6MB, while going wild and