JP
Upload

Google I/O 2011: Memory management for Android Apps

GoogleDevelopers GoogleDevelopers·2,000 videos
324,646
79,143
Like     Dislike 9

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to like GoogleDevelopers's video.

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to dislike GoogleDevelopers's video.

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to add GoogleDevelopers's video to your playlist.

Uploaded on May 12, 2011

Patrick Dubroy

Android apps have more memory available to them than ever before, but are you sure you're using it wisely? This talk will cover the memory management changes in Gingerbread and Honeycomb (concurrent GC, heap-allocated bitmaps, "largeHeap" option) and explore tools and techniques for profiling the memory usage of Android apps.

Loading icon Loading...

Loading icon Loading...

Loading icon Loading...

The interactive transcript could not be loaded.

Loading icon Loading...

Loading icon Loading...

Ratings have been disabled for this video.
Rating is available when the video has been rented.
This feature is not available right now. Please try again later.

Top Comments

  • Kent Fenwick

    Awesome talk Pat!

    · 27

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Kent Fenwick's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Kent Fenwick's comment.
  • JavaPlumbr

    Very good overview, thanks! We do believe all this should be 100x simpler though!

    · 11

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate JavaPlumbr's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate JavaPlumbr's comment.

All Comments (40)

Sign in now to post a comment!
  • Cord Rehn

    Fuck java's garbage collection. They actually made memory management MORE difficult than in C/C++. Can I please just force-free shit I know I am done with, and all references become invalid?

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Cord Rehn's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Cord Rehn's comment.
  • starrychloe

    I Google for a solution to my problem BECAUSE the garbage collector was not collecting, and ended up here! I did have to manually issue collection requests to work around the problem.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate starrychloe's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate starrychloe's comment.
    in reply to Pimm Hogeling (Show the comment)
  • Pimm Hogeling

    It's all about context.

    Listen to the lines before that one as well. The message is: you shouldn't explicitly start the garbage collector.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Pimm Hogeling's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Pimm Hogeling's comment.
    in reply to starrychloe (Show the comment)
  • gentoomaniac

    Great presentation! Helped me a lot understanding this topic.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate gentoomaniac's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate gentoomaniac's comment.
  • walter0bz

    "with 256mb you're going to see longer garbage collection pause times"

    thats why we have C/C++

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate walter0bz's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate walter0bz's comment.
  • ljbpic256

    awesome

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate ljbpic256's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate ljbpic256's comment.
  • Edmund Rojas

    The guy says the hprof conversion process is "easy" yet doesnt give a thorough explanation as to how to it, Ive been trying to convert it for over a day with no luck

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Edmund Rojas's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Edmund Rojas's comment.
  • Slyde InfinitySpinCasts

    timecloxxxxxxxx larger organisms the finite fictory partitions frak yeah

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Slyde InfinitySpinCasts's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Slyde InfinitySpinCasts's comment.
  • kapil kumar

    Awesome Video ;) 

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate kapil kumar's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate kapil kumar's comment.
  • Michael Schollmeyer

    Great Talk! Found my leak in 20 mins (though I didn't call it "Leaky" :-)

    · 3

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Michael Schollmeyer's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Michael Schollmeyer's comment.
  • Loading comment...
Loading...
Loading...
Working...
Sign in to add this to Watch Later