Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android emulator error: std::bad_alloc

I'm using Eclipse Juno and the Android emulator (SDK Tools 21.1) and I'm having this error a lot of times (well, two or three times in 6 hours):

[2013-03-22 11:41:19 - Emulator] terminate called after throwing an instance of 'std::bad_alloc'
[2013-03-22 11:41:19 - Emulator]   what():  std::bad_alloc
[2013-03-22 11:41:19 - Emulator] 
[2013-03-22 11:41:19 - Emulator] This application has requested the Runtime to terminate it in an      unusual way.
[2013-03-22 11:41:19 - Emulator] Please contact the application's support team for more information.

I've googled it but it seems to be an C++ error. I don't know if it's an error of my application or if is an error of Eclipse or the emulator. (The LogCat does not show any error).

like image 851
Marcos Avatar asked Mar 22 '13 10:03

Marcos


1 Answers

Sorry my reputation is not high enough, this should be a comment, since it is not a real solution.

I'm having the same issues, but it stops when I disable 'Use Host GPU'. I think it must be an error in of the emulator, since I can also generate the issue when I play around in the emulator (without using my own app).

like image 143
RobinDeCroon Avatar answered Nov 07 '22 18:11

RobinDeCroon