Click here to Skip to main content
11,482,039 members (65,984 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: Android
Iam develope a game in android every time i run the AVD this errors shows up and emulator cancel it's running:
[2011-08-16 03:21:46 - Emulator] Failed to allocate memory: 1455
[2011-08-16 03:21:46 - Emulator] 
[2011-08-16 03:21:46 - Emulator] This application has requested the Runtime to terminate it in an unusual way.
[2011-08-16 03:21:46 - Emulator] Please contact the application's support team for more information.
Why the emulator connot allocate the ram memory and how i can sove this problem ???????
Posted 21-Oct-11 3:44am
Edited 27-Nov-11 16:29pm
GPUToaster™ at 25-Oct-11 6:32am
What is you Emulator Configuration? Just check whether you have allocated less RAM to it? Kindly reconfigure the AVD.
Might help.
hamzah1 at 26-Oct-11 1:13am
Itried to do this but did'nt works even i try to reinstall the sdk but still the problem happened i think that this caused by the new android platform (4) because i try to configure the avd again in 3.2 platform and it's works

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

I have the best and right solution proved according to the indications by Calvin in techarena forums.
- Click Start, click Run, type sysdm.cpl in the Open box, and then press ENTER.
- Click the Advanced tab, and then under Performance click Settings.
- Click the Advanced tab, and then under Virtual memory click Change.
- Under Drive [Volume Label], click the drive that contains the paging file that you want to change.
- Under Paging file size for selected drive, click Custom size, type a new paging file size in megabytes (MB) in the Initial size (MB) or Maximum size (MB) box, and then click Set.
- Click OK to close the dialog box and apply changes.

This usual error "Failed to allocate memory: 1455" would be caused by Virtual Memory alocation. After resolving in this way the allocation of Virtual Memory for the root C disk, you should read in the console of Eclipse, the following:
[2011-11-27 12:33:06 - Videotutorial1] ------------------------------
[2011-11-27 12:33:06 - Videotutorial1] Android Launch!
[2011-11-27 12:33:06 - Videotutorial1] adb is running normally.
[2011-11-27 12:33:06 - Videotutorial1] Performing com.videotutoriales.videotutorial1.Videotutorial1Activity activity launch
[2011-11-27 12:33:06 - Videotutorial1] Automatic Target Mode: Preferred AVD 'VtAVD' is not available. Launching new emulator.
[2011-11-27 12:33:06 - Videotutorial1] Launching a new emulator with Virtual Device 'VtAVD'
[2011-11-27 12:33:39 - Emulator] emulator: emulator window was out of view and was recentered
[2011-11-27 12:33:39 - Emulator]
[2011-11-27 12:33:45 - Videotutorial1] New emulator found: emulator-5554
[2011-11-27 12:33:45 - Videotutorial1] Waiting for HOME ('android.process.acore') to be launched...
[2011-11-27 12:38:19 - Videotutorial1] HOME is up on device 'emulator-5554'
[2011-11-27 12:38:19 - Videotutorial1] Uploading Videotutorial1.apk onto device 'emulator-5554'
[2011-11-27 12:38:20 - Videotutorial1] Installing Videotutorial1.apk...
[2011-11-27 12:40:52 - Videotutorial1] Success!
[2011-11-27 12:40:53 - Videotutorial1] Starting activity com.videotutoriales.videotutorial1.Videotutorial1Activity on device emulator-5554
[2011-11-27 12:41:18 - Videotutorial1] Attempting to connect debugger to 'com.videotutoriales.videotutorial1' on port 8628

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Advertise | Privacy | Mobile
Web01 | 2.8.150520.1 | Last Updated 14 Mar 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100