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 8826257
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T07:05:34+00:00 2026-06-14T07:05:34+00:00

I am having an issue with bitmap recycle. I am displaying the bitmaps in

  • 0

I am having an issue with bitmap recycle. I am displaying the bitmaps in a grid view . I have about 40-50 thumbnails. when I down load the thumb image from the url I cached it to disk. Set the bitmap on ImageView and call bitmap.recycle(). BUt I keep getting recycled bitmap cannot be used.

Any ideas on what might be happening. Thanks for your help. I am re-using the ‘convert-view’ in the getView() of the ImageAdapter

Regards
-Chandu

  • 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-14T07:05:35+00:00Added an answer on June 14, 2026 at 7:05 am

    My understanding of this is, you can’t recycle a bitmap that is still being used. Furtheremore, as you are using an adpatable view you don’t even know when an image will no longer be used.

    The solution is to use weak references with the bitmaps to allow the carbage collector to take care of freeing up that memory when it is no longer needed.

    Here is a guide: http://developer.android.com/training/displaying-bitmaps/process-bitmap.html

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

Sidebar

Related Questions

Hi guys I am having issue I have this query: SELECT * FROM useraccount
i am having issue with loading my selector via a jquery ajax load call
Just started mongo and started having issue with querying already. i have a collection
Having an issue here that I have tried everything I can think of but
I've narrowed down the issue I'm having to this block of code, where I
I am having issue with memory after running many times my app. java.lang.OutOfMemoryError: bitmap
I have few questions about handling large bitmaps, I couldn't find answer on the
I am having issue with git pull.I have commited my changes in local repo.
I am having an issue with a class I'm working on. I currently load
I'm having issue with a simple code downloading a remote image and adding content

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.