Search This Blog

Sunday, June 28, 2015

How to fix export signed application fail [Cannot allocate memory]

After updated the latest ADK, I can't export signed application with Eclipse. I just got this error dialog.


Unfortunately, my machine is an old 32bit with resources that not enough to run AndroidStudio. That means I still using Eclipse for dev the apps. (Why they keep making tools that requires more and more computer's resources anyway ?)

By the way, I finally found the way to fix this problem. 'cause I using Ubuntu, Just type this command in the shell and everything is back to normal.

# echo 1 > /proc/sys/vm/overcommit_memory

Hope this gonna solves your problem too. Cheers !