Skip to content

"Post Activity leaked 100kb" #4

@TeamRainless

Description

@TeamRainless

In com.pedrocarrillo.redditclient:1.0:1.

  • EXCLUDED LEAK.

  • com.pedrocarrillo.redditclient.ui.singlePost.PostActivity has leaked:

  • GC ROOT android.view.inputmethod.InputMethodManager$ControlledInputConnectionWrapper.mParentInputMethodManager

  • references android.view.inputmethod.InputMethodManager.mCurRootView , matching exclusion field android.view.inputmethod.InputMethodManager#mCurRootView

  • references com.android.internal.policy.PhoneWindow$DecorView.mContext

  • leaks com.pedrocarrillo.redditclient.ui.singlePost.PostActivity instance

  • Retaining: 100 KB.

  • Reference Key: ef9c1dd3-415e-4ea5-b376-d35914f7dfd3

  • Device: motorola motorola XT1092 victara_retde

  • Android Version: 6.0 API: 23 LeakCanary: 1.5.1 1be44b3

  • Durations: watch=5555ms, gc=165ms, heap dump=5018ms, analysis=251487ms

  • Details:

  • Instance of android.view.inputmethod.InputMethodManager$ControlledInputConnectionWrapper
    | mActive = true
    | mParentInputMethodManager = android.view.inputmethod.InputMethodManager@318697040 (0x12feee50)
    | mH = com.android.internal.view.IInputConnectionWrapper$MyHandler@318962336 (0x1302faa0)
    | mInputConnection = java.lang.ref.WeakReference@318962304 (0x1302fa80)
    | mMainLooper = android.os.Looper@315719136 (0x12d17de0)
    | mDescriptor = java.lang.String@1877106680 (0x6fe25ff8)
    | mObject = -1179444736
    | mOwner = android.view.inputmethod.InputMethodManager$ControlledInputConnectionWrapper@318957024 (0x1302e5e0)
    | shadow$klass = android.view.inputmethod.InputMethodManager$ControlledInputConnectionWrapper
    | shadow$monitor = 0

  • Instance of android.view.inputmethod.InputMethodManager
    | static RESULT_UNCHANGED_HIDDEN = 1
    | static MSG_SET_ACTIVE = 4
    | static RESULT_HIDDEN = 3
    | static REQUEST_UPDATE_CURSOR_ANCHOR_INFO_NONE = 0
    | static sInstance = android.view.inputmethod.InputMethodManager@318697040 (0x12feee50)
    | static SHOW_FORCED = 2
    | static DISPATCH_NOT_HANDLED = 0
    | static HIDE_NOT_ALWAYS = 2
    | static NOT_AN_ACTION_NOTIFICATION_SEQUENCE_NUMBER = -1
    | static MSG_UNBIND = 3
    | static CONTROL_WINDOW_FIRST = 4
    | static CONTROL_START_INITIAL = 256
    | static RESULT_UNCHANGED_SHOWN = 0
    | static SHOW_IM_PICKER_MODE_AUTO = 0
    | static SHOW_IMPLICIT = 1
    | static CONTROL_WINDOW_VIEW_HAS_FOCUS = 1
    | static MSG_DUMP = 1
    | static TAG = java.lang.String@1877024360 (0x6fe11e68)
    | static SHOW_IM_PICKER_MODE_EXCLUDE_AUXILIARY_SUBTYPES = 2
    | static MSG_SEND_INPUT_EVENT = 5
    | static INPUT_METHOD_NOT_RESPONDING_TIMEOUT = 2500
    | static DEBUG = false
    | static PENDING_EVENT_COUNTER = java.lang.String@1877094408 (0x6fe23008)
    | static RESULT_SHOWN = 2
    | static DISPATCH_IN_PROGRESS = -1
    | static MSG_FLUSH_INPUT_EVENT = 7
    | static $staticOverhead = byte[264]@1880167825 (0x70111591)
    | static CONTROL_WINDOW_IS_TEXT_EDITOR = 2
    | static MSG_TIMEOUT_INPUT_EVENT = 6
    | static MSG_BIND = 2
    | static DISPATCH_HANDLED = 1
    | static SHOW_IM_PICKER_MODE_INCLUDE_AUXILIARY_SUBTYPES = 1
    | static MSG_SET_USER_ACTION_NOTIFICATION_SEQUENCE_NUMBER = 9
    | static HIDE_IMPLICIT_ONLY = 1
    | mActive = true
    | mBindSequence = 5580
    | mClient = android.view.inputmethod.InputMethodManager$1@318962208 (0x1302fa20)
    | mCompletions = null
    | mCurChannel = android.view.InputChannel@325866080 (0x136c5260)
    | mCurId = java.lang.String@325918880 (0x136d20a0)
    | mCurMethod = com.android.internal.view.IInputMethodSession$Stub$Proxy@325866064 (0x136c5250)
    | mCurRootView = com.android.internal.policy.PhoneWindow$DecorView@321701888 (0x132cc800)
    | mCurSender = null
    | mCurrentTextBoxAttribute = null
    | mCursorAnchorInfo = null
    | mCursorCandEnd = 0
    | mCursorCandStart = 0
    | mCursorRect = android.graphics.Rect@318962144 (0x1302f9e0)
    | mCursorSelEnd = 0
    | mCursorSelStart = 0
    | mDummyInputConnection = android.view.inputmethod.BaseInputConnection@318962240 (0x1302fa40)
    | mFullscreenMode = false
    | mH = android.view.inputmethod.InputMethodManager$H@318962272 (0x1302fa60)
    | mHasBeenInactive = true
    | mIInputContext = android.view.inputmethod.InputMethodManager$ControlledInputConnectionWrapper@318957024 (0x1302e5e0)
    | mLastBindFailed = false
    | mLastSentUserActionNotificationSequenceNumber = -1
    | mMainLooper = android.os.Looper@315719136 (0x12d17de0)
    | mNextServedView = null
    | mNextUserActionNotificationSequenceNumber = 1
    | mPendingEventPool = android.util.Pools$SimplePool@318946928 (0x1302be70)
    | mPendingEvents = android.util.SparseArray@318962176 (0x1302fa00)
    | mRequestUpdateCursorAnchorInfoMonitorMode = 0
    | mServedConnecting = false
    | mServedInputConnection = null
    | mServedInputConnectionWrapper = null
    | mServedView = null
    | mService = com.android.internal.view.IInputMethodManager$Stub$Proxy@318946912 (0x1302be60)
    | mTmpCursorRect = android.graphics.Rect@318962112 (0x1302f9c0)
    | shadow$klass = android.view.inputmethod.InputMethodManager
    | shadow$monitor = 0

  • Instance of com.android.internal.policy.PhoneWindow$DecorView
    | mBackgroundFallback = com.android.internal.widget.BackgroundFallback@320847504 (0x131fbe90)
    | mBackgroundPadding = android.graphics.Rect@321670592 (0x132c4dc0)
    | mBarEnterExitDuration = 250
    | mChanging = false
    | mDefaultOpacity = -1
    | mDownY = 0
    | mDrawingBounds = android.graphics.Rect@321670560 (0x132c4da0)
    | mFadeAnim = null
    | mFeatureId = -1
    | mFloatingActionMode = null
    | mFloatingActionModeOriginatingView = null
    | mFloatingToolbar = null
    | mFloatingToolbarPreDrawListener = null
    | mFrameOffsets = android.graphics.Rect@321670656 (0x132c4e00)
    | mFramePadding = android.graphics.Rect@321670624 (0x132c4de0)
    | mHideInterpolator = android.view.animation.PathInterpolator@321670880 (0x132c4ee0)
    | mLastBottomInset = 144
    | mLastHasBottomStableInset = true
    | mLastHasRightStableInset = false
    | mLastHasTopStableInset = true
    | mLastRightInset = 0
    | mLastTopInset = 72
    | mLastWindowFlags = -2122252032
    | mMenuBackground = null
    | mNavigationColorViewState = com.android.internal.policy.PhoneWindow$ColorViewState@321765920 (0x132dc220)
    | mNavigationGuard = null
    | mPrimaryActionMode = null
    | mPrimaryActionModePopup = null
    | mPrimaryActionModeView = null
    | mRootScrollY = 0
    | mShowInterpolator = android.view.animation.PathInterpolator@321670752 (0x132c4e60)
    | mShowPrimaryActionModePopup = null
    | mStatusColorViewState = com.android.internal.policy.PhoneWindow$ColorViewState@321765872 (0x132dc1f0)
    | mStatusGuard = null
    | mWatchingForMenu = false
    | this$0 = com.android.internal.policy.PhoneWindow@320077312 (0x1313fe00)
    | mForegroundPaddingBottom = 0
    | mForegroundPaddingLeft = 0
    | mForegroundPaddingRight = 0
    | mForegroundPaddingTop = 0
    | mMatchParentChildren = java.util.ArrayList@321670528 (0x132c4d80)
    | mMeasureAllChildren = false
    | mOverlayBounds = android.graphics.Rect@321670496 (0x132c4d60)
    | mSelfBounds = android.graphics.Rect@321670464 (0x132c4d40)
    | mAnimationListener = null
    | mCachePaint = null
    | mChildAcceptsDrag = false
    | mChildCountWithTransientState = 0
    | mChildTransformation = null
    | mChildren = android.view.View[12]@321664384 (0x132c3580)
    | mChildrenCount = 3
    | mCurrentDrag = null
    | mCurrentDragView = null
    | mDisappearingChildren = null
    | mDragNotifiedChildren = null
    | mFirstHoverTarget = null
    | mFirstTouchTarget = null
    | mFocused = android.widget.LinearLayout@321702912 (0x132ccc00)
    | mGroupFlags = 2375763
    | mHoveredSelf = false
    | mInvalidateRegion = null
    | mInvalidationTransformation = null
    | mLastTouchDownIndex = 0
    | mLastTouchDownTime = 301592955
    | mLastTouchDownX = 335.0
    | mLastTouchDownY = 1141.0
    | mLayoutAnimationController = null
    | mLayoutCalledWhileSuppressed = false
    | mLayoutMode = -1
    | mLayoutTransitionListener = android.view.ViewGroup$2@320847472 (0x131fbe70)
    | mLocalPoint = null
    | mNestedScrollAxes = 0
    | mOnHierarchyChangeListener = null
    | mPersistentDrawingCache = 2
    | mPreSortedChildren = null
    | mSuppressLayout = false
    | mTempPoint = float[2]@325131360 (0x13611c60)
    | mTransientIndices = null
    | mTransientViews = null
    | mTransition = null
    | mTransitioningViews = null
    | mVisibilityChangingChildren = null
    | mAccessibilityCursorPosition = -1
    | mAccessibilityDelegate = null
    | mAccessibilityTraversalAfterId = -1
    | mAccessibilityTraversalBeforeId = -1
    | mAccessibilityViewId = -1
    | mAnimator = null
    | mAttachInfo = null
    | mAttributes = null
    | mBackground = android.graphics.drawable.ColorDrawable@321767360 (0x132dc7c0)
    | mBackgroundRenderNode = android.view.RenderNode@321946816 (0x133084c0)
    | mBackgroundResource = 0
    | mBackgroundSizeChanged = false
    | mBackgroundTint = null
    | mBottom = 1920
    | mCachingFailed = false
    | mClipBounds = null
    | mContentDescription = null
    | mContext = com.pedrocarrillo.redditclient.ui.singlePost.PostActivity@321197712 (0x13251690)
    | mCurrentAnimation = null
    | mDrawableState = int[3]@1878525416 (0x6ff805e8)
    | mDrawingCache = null
    | mDrawingCacheBackgroundColor = 0
    | mFloatingTreeObserver = null
    | mForegroundInfo = null
    | mGhostView = null
    | mHasPerformedLongPress = false
    | mID = -1
    | mIgnoreNextUpEvent = false
    | mInContextButtonPress = false
    | mInputEventConsistencyVerifier = null
    | mKeyedTags = null
    | mLabelForId = -1
    | mLastIsOpaque = true
    | mLayerPaint = null
    | mLayerType = 0
    | mLayoutInsets = null
    | mLayoutParams = android.view.WindowManager$LayoutParams@316282336 (0x12da15e0)
    | mLeft = 0
    | mLeftPaddingDefined = true
    | mListenerInfo = null
    | mMatchIdPredicate = null
    | mMatchLabelForPredicate = null
    | mMeasureCache = android.util.LongSparseLongArray@321914112 (0x13300500)
    | mMeasuredHeight = 1920
    | mMeasuredWidth = 1080
    | mMinHeight = 0
    | mMinWidth = 0
    | mNestedScrollingParent = null
    | mNextFocusDownId = -1
    | mNextFocusForwardId = -1
    | mNextFocusLeftId = -1
    | mNextFocusRightId = -1
    | mNextFocusUpId = -1
    | mOldHeightMeasureSpec = 1073743744
    | mOldWidthMeasureSpec = 1073742904
    | mOutlineProvider = android.view.ViewOutlineProvider$1@1878521024 (0x6ff7f4c0)
    | mOverScrollMode = 1
    | mOverlay = null
    | mPaddingBottom = 0
    | mPaddingLeft = 0
    | mPaddingRight = 0
    | mPaddingTop = 0
    | mParent = null
    | mPendingCheckForLongPress = null
    | mPendingCheckForTap = null
    | mPerformClick = null
    | mPrivateFlags = 25200696
    | mPrivateFlags2 = 1611867680
    | mPrivateFlags3 = 0
    | mRecreateDisplayList = false
    | mRenderNode = android.view.RenderNode@321670432 (0x132c4d20)
    | mResources = android.content.res.Resources@315694624 (0x12d11e20)
    | mRight = 1080
    | mRightPaddingDefined = true
    | mScrollCache = null
    | mScrollIndicatorDrawable = null
    | mScrollX = 0
    | mScrollY = 0
    | mSendViewScrolledAccessibilityEvent = null
    | mSendViewStateChangedAccessibilityEvent = null
    | mSendingHoverAccessibilityEvents = false
    | mStartActivityRequestWho = null
    | mStateListAnimator = null
    | mSystemUiVisibility = 0
    | mTag = null
    | mTempNestedScrollConsumed = null
    | mTop = 0
    | mTouchDelegate = null
    | mTouchSlop = 72
    | mTransformationInfo = android.view.View$TransformationInfo@321923744 (0x13302aa0)
    | mTransientStateCount = 0
    | mTransitionName = null
    | mUnscaledDrawingCache = null
    | mUnsetPressedState = null
    | mUserPaddingBottom = 0
    | mUserPaddingEnd = -2147483648
    | mUserPaddingLeft = 0
    | mUserPaddingLeftInitial = 0
    | mUserPaddingRight = 0
    | mUserPaddingRightInitial = 0
    | mUserPaddingStart = -2147483648
    | mVerticalScrollFactor = 0.0
    | mVerticalScrollbarPosition = 0
    | mViewFlags = 402655360
    | mWindowAttachCount = 1
    | shadow$klass = com.android.internal.policy.PhoneWindow$DecorView
    | shadow$monitor = -2008201620

  • Instance of com.pedrocarrillo.redditclient.ui.singlePost.PostActivity
    | static serialVersionUID = 6474179560570757280
    | static $staticOverhead = byte[32]@316805121 (0x12e21001)
    | static Companion = com.pedrocarrillo.redditclient.ui.singlePost.PostActivity$Companion@320846768 (0x131fbbb0)
    | static POST_PERMALINK = java.lang.String@321646752 (0x132bf0a0)
    | static $change = null
    | _$_findViewCache = java.util.HashMap@321831312 (0x132ec190)
    | groupAdapter = com.xwray.groupie.GroupAdapter@321650496 (0x132bff40)
    | groupLayoutManager = android.support.v7.widget.GridLayoutManager@318581200 (0x12fd29d0)
    | presenter = com.pedrocarrillo.redditclient.ui.singlePost.PostPresenter@321826912 (0x132eb060)
    | toolbar = android.support.v7.widget.Toolbar@321710080 (0x132ce800)
    | mDelegate = android.support.v7.app.AppCompatDelegateImplV23@318574864 (0x12fd1110)
    | mEatKeyUpEvent = false
    | mResources = null
    | mThemeId = 2131558405
    | mCreated = true
    | mFragments = android.support.v4.app.FragmentController@320847168 (0x131fbd40)
    | mHandler = android.support.v4.app.FragmentActivity$1@321669376 (0x132c4900)
    | mNextCandidateRequestIndex = 0
    | mOptionsMenuInvalidated = false
    | mPendingFragmentActivityResults = android.support.v4.util.SparseArrayCompat@321670400 (0x132c4d00)
    | mReallyStopped = true
    | mRequestedPermissionsFromFragment = false
    | mResumed = false
    | mRetaining = true
    | mStopped = true
    | mStartedActivityFromFragment = false
    | mStartedIntentSenderFromFragment = false
    | mExtraDataMap = android.support.v4.util.SimpleArrayMap@321669344 (0x132c48e0)
    | mActionBar = null
    | mActionModeTypeStarting = 0
    | mActivityInfo = android.content.pm.ActivityInfo@321691776 (0x132ca080)
    | mActivityTransitionState = android.app.ActivityTransitionState@321663872 (0x132c3380)
    | mApplication = com.pedrocarrillo.redditclient.RedditClientApplication@316036480 (0x12d65580)
    | mCalled = true
    | mChangeCanvasToTranslucent = false
    | mChangingConfigurations = true
    | mComponent = android.content.ComponentName@321679472 (0x132c7070)
    | mConfigChangeFlags = 1152
    | mCurrentConfig = android.content.res.Configuration@321644016 (0x132be5f0)
    | mDecor = null
    | mDefaultKeyMode = 0
    | mDefaultKeySsb = null
    | mDestroyed = true
    | mDoReportFullyDrawn = false
    | mEmbeddedID = null
    | mEnableDefaultActionBarUp = false
    | mEnterTransitionListener = android.app.SharedElementCallback$1@1878470384 (0x6ff72ef0)
    | mExitTransitionListener = android.app.SharedElementCallback$1@1878470384 (0x6ff72ef0)
    | mFinished = false
    | mFragments = android.app.FragmentController@320847120 (0x131fbd10)
    | mHandler = android.os.Handler@321669248 (0x132c4880)
    | mIdent = 181112245
    | mInstanceTracker = android.os.StrictMode$InstanceTracker@320847136 (0x131fbd20)
    | mInstrumentation = android.app.Instrumentation@315694784 (0x12d11ec0)
    | mIntent = android.content.Intent@321671232 (0x132c5040)
    | mLastNonConfigurationInstances = null
    | mMainThread = android.app.ActivityThread@314986304 (0x12c64f40)
    | mManagedCursors = java.util.ArrayList@321669280 (0x132c48a0)
    | mManagedDialogs = null
    | mMenuInflater = null
    | mParent = null
    | mReferrer = java.lang.String@321675920 (0x132c6290)
    | mResultCode = 0
    | mResultData = null
    | mResumed = false
    | mSearchEvent = null
    | mSearchManager = null
    | mStartedActivity = false
    | mStopped = true
    | mTemporaryPause = false
    | mTitle = java.lang.String@316554016 (0x12de3b20)
    | mTitleColor = 0
    | mTitleReady = true
    | mToken = android.os.BinderProxy@321683552 (0x132c8060)
    | mTranslucentCallback = null
    | mUiThread = java.lang.Thread@1941959328 (0x73bff2a0)
    | mVisibleBehind = false
    | mVisibleFromClient = true
    | mVisibleFromServer = true
    | mVoiceInteractor = null
    | mWindow = com.android.internal.policy.PhoneWindow@320077312 (0x1313fe00)
    | mWindowAdded = true
    | mWindowManager = android.view.WindowManagerImpl@321669984 (0x132c4b60)
    | mInflater = com.android.internal.policy.PhoneLayoutInflater@321765488 (0x132dc070)
    | mOverrideConfiguration = null
    | mResources = android.content.res.Resources@315694624 (0x12d11e20)
    | mTheme = android.content.res.Resources$Theme@321670016 (0x132c4b80)
    | mThemeResource = 2131558405
    | mBase = android.app.ContextImpl@321655936 (0x132c1480)
    | shadow$klass = com.pedrocarrillo.redditclient.ui.singlePost.PostActivity
    | shadow$monitor = -1989381331

  • Excluded Refs:
    | Field: android.view.inputmethod.InputMethodManager.mNextServedView
    | Field: android.view.inputmethod.InputMethodManager.mServedView
    | Field: android.view.inputmethod.InputMethodManager.mServedInputConnection
    | Field: android.view.inputmethod.InputMethodManager.mCurRootView
    | Field: android.os.UserManager.mContext
    | Field: android.net.ConnectivityManager.sInstance
    | Field: android.view.Choreographer$FrameDisplayEventReceiver.mMessageQueue (always)
    | Thread:FinalizerWatchdogDaemon (always)
    | Thread:main (always)
    | Thread:LeakCanary-Heap-Dump (always)
    | Class:java.lang.ref.WeakReference (always)
    | Class:java.lang.ref.SoftReference (always)
    | Class:java.lang.ref.PhantomReference (always)
    | Class:java.lang.ref.Finalizer (always)
    | Class:java.lang.ref.FinalizerReference (always)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions