Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3966222
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T03:34:18+00:00 2026-05-20T03:34:18+00:00

I have an old computer: Pentium D 2.8 Ghz, 4 gig ram, win7 ult.,

  • 0

I have an old computer: Pentium D 2.8 Ghz, 4 gig ram, win7 ult., running eclipse Helios and jdk1.6. I recently started learning android development and was going through some exercises people posted on the web. During one exercise which basically creates an option menu, it asked to create a menu folder under /res and a xml file to define the menu elements. In eclipse, I right click on the res folder to choose to create a new folder –> that’s fine but you can hear my computer fan picks up, then I create a black file and name it “menu.xml” and double click to open it, my computer processor pick up to max by javaw.exe and eclipse stops responding (indicated by windows). If you watch the javaw.exe in the task manager, the amount of memory it uses just keeps adding up (up to 1gig, i then killed the process manually).

I did the same thing but this time, rather than create the menu folder, i just created the menu.xml file under “layout” folder and everything is fine. So is this a bug in android / eclipse? This is not a one time occurrence, it happens every time when i repeat the steps above — including after rebooting the computer and start fresh.

Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T03:34:19+00:00Added an answer on May 20, 2026 at 3:34 am

    I can recreate this problem on latest Eclipse on Linux. I’m pretty sure it’s a bug in the ADT that tries to validate an empty XML menu resource and gets stuck in an infinite loop, eventually causing a StackOverflow. It doesn’t seem to happen for any other folder in res, so it must be related to menu inflation. You may want to submit this to Eclipse or AOSP.

    Either way, the ADT plugin provides a wizard for creating XML files, use that. On the toolbar, it’s the icon with an ‘a’ in it and a + in the upper right corner. Or you can use File > New > Other > Android > Android XML File, and create a Menu resource.

    Update: after some googling, I found this thread on the android-developer mailing list. Apparently it’s a known issue, and you should use the Android XML Resource wizard as described above.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have recently got a new computer and I have put Eclipse Helios on
I recently upgraded my computer, and moved from XP to Win7. We have old
I have a bunch of old machines running Windows 2000 Pro and IE 5.0
My computer crashed recently. We have a Delphi app that takes a lot of
I have recently setup XAMPP 1.7.3 and ZendFramework 1.10.4 on a new computer and
I recently got a new primary computer. On my old one, I was working
I have just got a new computer and installed Eclipse Indigo and all of
I have working kernel debug setup on old host computer with Windows Xp. On
I have a script which works fine on my old Windows XP computer but
I have an old computer with formatted drive lying around collecting dust, now I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.