New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextBox memory leak #2990

Closed
scccboom opened this Issue Jun 21, 2017 · 5 comments

Comments

Projects
None yet
3 participants
@scccboom

scccboom commented Jun 21, 2017

<TextBox Controls:TextBoxHelper.IsWaitingForData="true"/>

window minimize

Environment

  • MahApps.Metro v1.4.3
  • Windows OS 8.1
  • Visual Studio 2013
  • .NET Framework 4.5
@punker76

This comment has been minimized.

Member

punker76 commented Jun 28, 2017

@TwoBee Can you give us more information about this? Why should this a memory leak?

@scccboom

This comment has been minimized.

scccboom commented Jun 28, 2017

@punker76 I am sorry! I can't compile source code for debugging. I am using is releases version that does not provide more information.

@punker76

This comment has been minimized.

Member

punker76 commented Jun 28, 2017

@TwoBee So, how can I help you? Where do you think is this memory leak? Have you tried the latest stabel version 1.5.0 (or pre-release of 1.6.0) instead the 1.4.3?

@wiki1980

This comment has been minimized.

wiki1980 commented Sep 22, 2017

I am seeing this issue, as well.

I have a textbox using TextBoxHelper.IsWaitingForData="true". If the app is minimized, the memory footprint will increase every second until either the app is restored or the system hangs.

@punker76

This comment has been minimized.

Member

punker76 commented Sep 22, 2017

@wiki1980 thx for your report, now I see it too...

@punker76 punker76 reopened this Sep 22, 2017

@punker76 punker76 self-assigned this Sep 22, 2017

@punker76 punker76 added this to the 1.6.0 milestone Sep 23, 2017

punker76 added a commit that referenced this issue Sep 25, 2017

Fix #2990
  TextBox memory leak
  Remove the BitmapCache at AdornerDecorator.CacheMode which is causing the GPU memory leak if the app will be minimized

punker76 added a commit that referenced this issue Sep 25, 2017

Fix for TextBox GPU memory leak (#3060)
* Set effect directly as DynamicResource
  use po:Freeze="True" and x:Shared="False" for effect

* Fix #2990
  TextBox memory leak
  Remove the BitmapCache at AdornerDecorator.CacheMode which is causing the GPU memory leak if the app will be minimized
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment