Out of memory issue in Android

by ROHIT » Tue, 08 Mar 2011 05:38:43 GMT

Sponsored Links
I am using the byte array for storing the image. I want to store image
in binary format back to file. While calculating the length of byte
array, i am getting the Out of memory issue.
So please help me to overcome this problem.

Thanks in advance...

Thanks and Regards,
Rohit D


Re: Out of memory issue in Android

by lbendlin » Tue, 08 Mar 2011 20:02:01 GMT

 quote Romain Guy: "Your application uses too much memory".


Sponsored Links

Re: Out of memory issue in Android

by DanH » Tue, 08 Mar 2011 20:26:20 GMT

 If you're getting an out of memory condition while CALCULATING the
length of the byte array then the problem is on the other side of the


Other Threads

1. Advertise Swap

Hi Guys and Gals,
Wondering if anyone is interested in doing an adverti{*filter*}t swap.
I.e. I will advertise your product on my android apps, you advertise
mine on yours.  Maybe we can get a win/win situation.



2. VideoView from resource File

Dear All; I create a videoview to play my mp4  file and I have added
my mp4 file to the resource , but I dnt know how to get the path to
that file or to parse it from resource
so I get that code :
  VideoView videoView = (VideoView) findViewById(R.id.videoView1);
        MediaController mediaController = new MediaController(this);
        // Set video link (mp4 format )
      Uri video = Uri.parse( "");
       // videoView.setVideoPath("/Hello.Text/res/drawable-mdpi/

What change I have to parse my file ?



3. Bluetooth in Android


5. Streaming Live Video to Android

6. Android JNI + USB serial

7. How to run my applications more efficiently