-
Notifications
You must be signed in to change notification settings - Fork 283
Open
Description
我在xaml中简单的使用了BreathLamp, 代码具体如下:
<WPFDevelopers:BreathLamp Width="60" Height="60" HorizontalAlignment="Left" VerticalAlignment="Top" GradientStopColor1="#FF00cec9" GradientStopColor2="#2000cec9" IsLampStart="True" LampEffect="Streamer"> <Ellipse Width="53" Height="53"> <Ellipse.Fill> <ImageBrush ImageSource="Assets/logo.png" /> </Ellipse.Fill> </Ellipse> </WPFDevelopers:BreathLamp>
启动程序后, 会导致GC Heap Size不断地增大, 即便程序挂在前台什么也不做, 也会引发这个问题, 在Windows的任务管理器中, 也可以观测到程序正在以每秒零点几M的速度不断地吞噬内存, 我将程序静置了半个小时, 内存泄露的情况依然没有停止的现象, 注释掉上述代码后, 立马就修复了这个问题, 可能是BreathLamp的动画引发了内存泄露
Metadata
Metadata
Assignees
Labels
No labels