LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 05-08-2013, 10:26 PM   #1
sniper8752
Member
 
Registered: Oct 2012
Posts: 318

Rep: Reputation: Disabled
android avd


I get this error when starting the AVD Nexus with 1024 ram. i lower it to 512, and it works fine. I am getting this error:

Starting emulator for AVD 'Nexus'
Failed to allocate memory: 8
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

Is there any other way to fix this so that I can run more ram?

Last edited by sniper8752; 05-08-2013 at 10:34 PM.
 
Old 05-08-2013, 11:29 PM   #2
Adickel
LQ Newbie
 
Registered: Jul 2009
Posts: 14

Rep: Reputation: 0
Your computer doesn't have enough ram or the heap settings for the jvm aren't set correctly, see if you can modify the avd exe to launch with more ram usually -xmx 1024 or something
 
Old 05-09-2013, 06:06 AM   #3
sniper8752
Member
 
Registered: Oct 2012
Posts: 318

Original Poster
Rep: Reputation: Disabled
I try this, but then I get that error. I am using the gui, and I increased the ram.
 
Old 05-09-2013, 11:16 PM   #4
Adickel
LQ Newbie
 
Registered: Jul 2009
Posts: 14

Rep: Reputation: 0
Try running with only 768 if you can select that option, also notice that even though it seems like increasing the ram in the avd might make it run faster this usually isn't the case. The emulated android OS is quite slim and won't even take advantage of the added memory, the only time it might be useful is if the application you are debugging has those memory requirements I.e you are running into java.lang.OutOfMemory Exceptions
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: The Android SDK: Top tools for effective Android app development LXer Syndicated Linux News 0 10-30-2012 12:01 AM
LXer: The Android SDK: Top tools for effective Android app development LXer Syndicated Linux News 0 10-29-2012 04:10 PM
LXer: Get Started with Android application development using Linux and Android SDK LXer Syndicated Linux News 0 01-06-2011 01:50 PM
LXer: What I like about Android - and what I don't -- My Android Review (including my Favorite Apps) LXer Syndicated Linux News 0 11-18-2010 02:20 PM
Any avd programmers here? MitchM99 General 1 03-25-2003 06:01 PM


All times are GMT -5. The time now is 02:05 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration