'Memeory Leak'에 해당되는 글 1건

  1. 2016.04.20 RenderTargetBitmap Memory Leak 해결
c#2016. 4. 20. 14:43


       bmp.Freeze();  
       bmp = null;  
       GC.Collect();  
       GC.WaitForPendingFinalizers();  
       GC.Collect(); 


bmp는 rendertargetbitmap


가비지컬렉터를 수동으로 호출 해야한다.;;



출처 : http://stackoverflow.com/questions/29560264/rendertargetbitmap-impossible-to-free-dispose-handle

'c#' 카테고리의 다른 글

사용하지 않을 메소드앞에 [Obsolete] 어트리뷰트 사용  (0) 2020.01.03
list 삭제  (0) 2019.08.02
Page 기능을 구현할때는 Linq Skip을 활용하자.  (0) 2016.07.06
URI Parameter 붙이기  (0) 2016.06.20
Simple Uniq ID만들기  (0) 2016.04.20
Posted by 동동(이재동)