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

  • Home
  • SEARCH
  • 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 8244133
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T21:44:46+00:00 2026-06-07T21:44:46+00:00

I am trying to find memory leaks in my Android application. I have the

  • 0

I am trying to find memory leaks in my Android application.
I have the following situation:

class A created a class A$24 which created a thread. This thread has a reference to class A, so this is the leak.
I understand that A$24 is an anonymous class created in class A, but how can i find out where is was created, in which line in the code.
My problem is to understand who is the problematic thread.

  • 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-06-07T21:44:49+00:00Added an answer on June 7, 2026 at 9:44 pm

    In the project explorer of the resource perspective use the view menu, select “Customize view…” and uncheck “Inner class files” and “Java output folders”. Now you should see the generated class files in the project explorer in a “bin” folder.

    If you navigate to your A$24.class file, you can open it using a double click. Look for lines at the top talking about field selectors, like this

     // Field descriptor #10 Z
      private final synthetic boolean val$fStartMinimized
    

    In this example, a final field fStartMinimized is used by the anonymous class (and therefore copied into the anonymous class). Using that field name you should be able to locate the anynomous class in question.

    If there is no such field declaration (and also no method name giving you a clue), then you may get more insight with the ByteCode outline plugin (but I’ve never used that myself).

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

Sidebar

Related Questions

I have been trying to find memory leak in my application for a week
I'm trying to find memory leaks and performance issues with my java application. Is
In short, I'm trying to avoid memory leaks. I have read http://kohlerm.blogspot.co.uk/2009/02/memory-leaks-are-easy-to-find.html and I
I am trying to find the relative memory usage of each running application and
I am trying to find leaks in my program, which is a framework based
I am using latest Xcode, and trying to find memory leaks. When i use
I am trying to find memory leaks in a program I did not design
We are trying to figure out if we have memory leaks in our software.
I'm trying to find a memory leak in a windows MFC 8.0 application (Release
I'm trying to find a memory leak in my application and I want to

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.