Failed to allocate memory: 1455

找了一圈,改了一圈,这是最终有效的解决方式:
转自: http://www.codeproject.com/Questions/272087/Failed-to-allocate-memory-1455

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

猜你喜欢

转载自ben-hu.iteye.com/blog/1833012