컴퓨터/컴퓨터 팁

[이클립스] Failed to allocate memory : 에러 해결법

라이트트윈스 2014. 6. 25. 11:41
[2014-06-25 11:27:15 - Emulator] Failed to allocate memory: 1455(이 숫자는 다 다름)
[2014-06-25 11:27:15 - Emulator]
[2014-06-25 11:27:15 - Emulator] This application has requested the Runtime to terminate it in an unusual way.
[2014-06-25 11:27:15 - Emulator] Please contact the application's support team for more information.

 

에뮬레이터돌릴때 이런 오류가 뜨는데 해결법

 

c: -> 유저 -> 계정명 -> .android -> avd -> 오류난 에뮬명.adv -> congig.ini

 

실행후

 

avd.ini.encoding=ISO-8859-1
abi.type=armeabi-v7a
disk.dataPartition.size=200M
hw.accelerometer=yes
hw.audioInput=yes
hw.battery=yes
hw.camera.back=none
hw.camera.front=none
hw.cpu.arch=arm
hw.cpu.model=cortex-a8
hw.dPad=no
hw.device.hash2=MD5:6930e145748b87e87d3f40cabd140a41
hw.device.manufacturer=Google
hw.device.name=Nexus 4
hw.gps=yes
hw.keyboard=yes
hw.lcd.density=320
hw.mainKeys=no
hw.ramSize=1907
MB hw.sdCard=yes
hw.sensors.orientation=yes
hw.sensors.proximity=yes
hw.trackBall=no
image.sysdir.1=system-images\android-19\armeabi-v7a\
sdcard.size=512M
skin.dynamic=no
skin.name=768x1280
skin.path=768x1280
tag.display=Default
tag.id=default
vm.heapSize=64

 

hw.ramSize=1907 

이 부분에

hw.ramSize=1907MB 라고 MB를 추가하면된다

그러면 ADV 문제는 해결

 

메모장으로 열면 붙여서 출력될수있으니 워드패드나 에디트플러스등을 이용