Posted By Our Mentors
Amreen Khan
Android Developer
animesh bansal
iphone App Developer
Devendra chouksey
Android Developer
Dilip Saket
IOS apps developer
Hemraj Jhariya
iOS Developer
Jaihind singh Rajput
Smart Phone App Dev
Mujahid khan
Android developer
Narendra Yadav
android developer
Narinder Gupta
Mobile App Architect
Pradeep singh Thakur
Mobile App Architect
Sanjay Sharma
Andriod Developer
Shakti Rajpal
IT Architect
Soniya Vishwakarma
iPhone App Developer
Sunil Raghuwanshi
iPhone App Developer
Supriya Kapse
Senior developer
View current Topics
How to resolve OutOfMemory Exception in android? Android
The OutofMemory exception is a common exception in android when you select an image from a gallery or load Big Images in android. There are different methods to solve this problem. Today I will show you one of the method to solve this problem.
Posted By: Amreen Khan Date: 08 Jul 2012 View: 982
      Rate This !!


The method I am going to explain here is to create a virtual device with more

1. RAM
2. Heap Size
3. SDCard support.

The main reason for this problem is that if the virtual device you created has less configuration, then it will not allocate more heap size for bigger images.
In this tutorial I will show you how to create a Virtual device with higher configuration.

Follow these steps:-

1. Open Eclipse> Window -> AndroidSDK and AVD Manager.
2. Click new -> Give a Virtual device name and other details like Target and SDCARD size.
3. In the Hardware tab below click on new
4. See the options in the combobox.
5. Give appropriate values after selecting values from the Box after clicking ok. Try to give bigger values than default


avd.bmpavd1.bmp


Posted Queries