[android-developers] OutofMemory Excepton error in android

2013-03-13 Thread karunakar medamoni
Hello Every one. This is karunakar working on android project. Am converting apertium based webpage to android app. When i try to run com.apertium.lttoolbox.LTPorc class with two arguments filename.bin file and input file am getting this error. If any help from any one it would be helpful for

[android-developers] OutofMemory exception

2012-03-28 Thread Kirupa
OutofMemory exception is in android. Do you know the reason for it? How we can solve this? -- 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 this gro

[android-developers] outofmemory error for Videoview.i.e.how to release videoview objects??

2011-12-29 Thread Kishor Nirbhavane
Hi, i am using one activity and videoview inside it, and playing 2 videos. on start it plays first video and then an activity containing text- view will come, then on tap it will play the 2nd video. i m pssing the name of the videofile2, from the text activity,and playing the video. but i m gettin

[android-developers] OutOfMemory exception when there should be enough memory left

2011-11-05 Thread sebastian_bugiu
So I am allocating a 4659200 bytes int[] that should be used as pixels in a bitmap (a background bitmap). The int[] should be collected since it's local to a method but somehow I get this stack trace: D/dalvikvm( 339): GC_EXTERNAL_ALLOC freed 18K, 76% free 2882K/11783K, external 7405K/7713K, paus

Re: [android-developers] OutOfMemory exceptions

2011-09-11 Thread Greg Donald
On Sat, Sep 10, 2011 at 2:31 AM, Michael Banzon wrote: > Do you know what causes the OutOfMemoryException? > > My general advise would be to try and avoid that... Yeah, 'cause apps shouldn't have graphics. -- Greg Donald -- You received this message because you are subscribed to the Google G

Re: [android-developers] OutOfMemory exceptions

2011-09-10 Thread Christopher Van Kirk
Quite right. Sorry, thought this was on a different list. I still think he (or she) needs to review memory usage. Running into the memory limit is a good indicator of a bad design. On 9/11/2011 3:56 AM, TreKing wrote: On Sat, Sep 10, 2011 at 2:36 AM, Christopher Van Kirk mailto:christopher.va

Re: [android-developers] OutOfMemory exceptions

2011-09-10 Thread TreKing
On Sat, Sep 10, 2011 at 2:36 AM, Christopher Van Kirk < christopher.vank...@gmail.com> wrote: > Check that the pointer returned to you when you allocate memory is > non-null. If it's null, you're out of memory. You don't use pointers or "allocate memory" directly in Java and even if you did you

Re: [android-developers] OutOfMemory exceptions

2011-09-10 Thread Christopher Van Kirk
Check that the pointer returned to you when you allocate memory is non-null. If it's null, you're out of memory. If you're even getting close to the memory limit, though, you're doing something very wrong. On 9/10/2011 3:20 PM, bob wrote: How do I tell how much RAM my MetroPCS LG Optimus uses

Re: [android-developers] OutOfMemory exceptions

2011-09-10 Thread Michael Banzon
Do you know what causes the OutOfMemoryException? My general advise would be to try and avoid that... On Sat, Sep 10, 2011 at 9:20 AM, bob wrote: > How do I tell how much RAM my MetroPCS LG Optimus uses? > > I keep getting OutOfMemory exceptions.  Also, what is the most user- > friendly way to

[android-developers] OutOfMemory exceptions

2011-09-10 Thread bob
How do I tell how much RAM my MetroPCS LG Optimus uses? I keep getting OutOfMemory exceptions. Also, what is the most user- friendly way to handle OutOfMemory exceptions? Right now, the app crashes. -- You received this message because you are subscribed to the Google Groups "Android Developer

Re: [android-developers] OutOfMemory exception in OnCreate

2010-10-02 Thread Prakash Iyer
On Sat, Oct 2, 2010 at 6:14 PM, Yahel wrote: > Hi all, > > I'm having a hard time resolving a crash report. > It's an OutOfMemory exception that occurs during the setContentView in > the onCreate of my main activity. > > I just want to be sure I understood Android LifeCycle well : > > 1) The onCr

[android-developers] OutOfMemory exception in OnCreate

2010-10-02 Thread Yahel
Hi all, I'm having a hard time resolving a crash report. It's an OutOfMemory exception that occurs during the setContentView in the onCreate of my main activity. I just want to be sure I understood Android LifeCycle well : 1) The onCreate of my main activity is called once and only once during t

[android-developers] OutOfMemory problem

2010-04-18 Thread Kofa
I really don't know why it's giving me this error... I load an ImageView with an image of 692kb .jpg, using scroll options, so you can scroll it around... the strange it's that when the mobile it's connected to the VM it's less possible to happen. So...how can I prevent this? is there anyway that I

[android-developers] OutOfMemory calling MediaStore.Images.Media.getBitmap

2010-04-15 Thread John
After I've used a MediaStore.ACTION_IMAGE_CAPTURE intent to take a photo, when I try to retrieve the captured image, I sometimes get an out of memory error as shown below. The odd thing is the huge size of the memory trying to be allocated is always reported as 10,077,696 (x99c600). However, th

Re: [android-developers] OutOfMemory with 9M free heap because of bitmaps!?

2010-03-03 Thread Greg Donald
On Wed, Mar 3, 2010 at 10:58 AM, Markus Junginger wrote: > Our app has some memory peaks, which let the heap grow to 13M. After > the peak, there's 9M of free heap. Everything's fine until Bitmap > objects come into play. Despite having 9M of free heap creating > Bitmaps, which have only some 100k

[android-developers] OutOfMemory with 9M free heap because of bitmaps!?

2010-03-03 Thread Markus Junginger
Our app has some memory peaks, which let the heap grow to 13M. After the peak, there's 9M of free heap. Everything's fine until Bitmap objects come into play. Despite having 9M of free heap creating Bitmaps, which have only some 100k, now fail with a OutOfMemoryException! My theory: Allocation fai

Re: [android-developers] OutOfMemory

2010-01-26 Thread Mark Murphy
Iroid wrote: > Hello All, > I am facing an Out Of Memory Exception while playing with the > application for sometime. > I looked in to HeapDump using MAT, and also monitored the heap through > DDMS. But HeapDump looks good to me and DDMS heap size is well in > limit. Still I am getting this Except

[android-developers] OutOfMemory

2010-01-25 Thread Iroid
Hello All, I am facing an Out Of Memory Exception while playing with the application for sometime. I looked in to HeapDump using MAT, and also monitored the heap through DDMS. But HeapDump looks good to me and DDMS heap size is well in limit. Still I am getting this Exception. This morning when it

[android-developers] OutofMemory Excpetion in built in ZoomControls of mapView

2009-08-06 Thread smilingm
Hello, I wonder why I sometimes get an OutOfMemory Exception in mapView when scrolling around on map and zooming in to the max Zoomlevel? Is this a bug in the Zoomcontrols or MapView Lib?? Thanks for your help! Here the stacktrace: uncaught handler: thread main exiting due to uncaught exceptio

[android-developers] OutofMemory exception when dealing with large Bitmaps

2009-03-26 Thread George
I wrote a sample application which rotates and scales a bitmap on clicking a key. When the bitmap is large (1280x1024) I quickly run into an OutOfMemory exception at CreateBitmap and I need to Force Close the application. No issues with smaller bitmaps. I have already tried using bitmap.recycle a