# Investigating Memory Leaks in Square POS on Android Q

DevFeed: [Investigating Memory Leaks in Square POS on Android Q](<https://devfeed.tech/articles/story-of-an-android-q-leak-attachment-crazy-town-15896.md>)

Original publisher: [Read original article](<https://developer.squareup.com/blog/story-of-an-android-q-leak-attachment-crazy-town>)

Author: P-Y Ricau

Published: 2019-07-03T19:00:00Z

Content type: article

Language: en

Sources: [Square Corner Blog RSS Feed](<https://devfeed.tech/sources/square-corner-blog-rss-feed.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [Memory Leaks](<https://devfeed.tech/topics/memory-leaks.md>), [debugging](<https://devfeed.tech/topics/debugging.md>), [Large Screen](<https://devfeed.tech/topics/large-screen.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [leak](<https://devfeed.tech/tags/leak.md>), [leakcanary](<https://devfeed.tech/tags/leakcanary.md>), [lifecycle](<https://devfeed.tech/tags/lifecycle.md>), [memory](<https://devfeed.tech/tags/memory.md>), [memory-leaks](<https://devfeed.tech/tags/memory-leaks.md>), [view](<https://devfeed.tech/tags/view.md>)

## AI overview

The article investigates unusually high memory leaks observed while testing Square POS on Android Q, focusing on leak traces involving an attached view and a destroyed activity. It also explains how LeakCanary 2 uses lifecycle heuristics when interpreting such traces.

## Source excerpt

Debugging leaks for Square POS in Android Q