내용으로 건너뛰기
권남
사용자 도구
로그인
사이트 도구
검색
도구
문서 보기
이전 판
역링크
최근 바뀜
미디어 관리자
사이트맵
로그인
>
최근 바뀜
미디어 관리자
사이트맵
추적:
java:memory:leak
이 문서는 읽기 전용입니다. 원본을 볼 수는 있지만 바꿀 수는 없습니다. 문제가 있다고 생각하면 관리자에게 문의하세요.
====== Java Memory Leak 메모리 누수 ====== ===== Java Memory Leak 관련자료 ===== * [[http://apmblog.dynatrace.com/2015/07/14/how-to-identify-objects-causing-memory-leaks/|How to identify objects causing memory leaks]] * [[https://dzone.com/articles/memory-problems-how-to-identify-a-java-memory-leak|Memory Problems: How to Identify a Java Memory Leak - DZone Performance]] * [[http://www.javacodegeeks.com/2015/11/java-memory-architecture-model-garbage-collection-and-memory-leaks.html|Java Memory Architecture (Model), Garbage Collection and Memory Leaks | Java Code Geeks]] * [[http://www.munzandmore.com/2011/ora/memleak|Detect your Memory Leaks by counting Surviving Generations: Size matters! — munz & more]] ===== List.subList() ===== * [[http://docs.oracle.com/javase/6/docs/api/java/util/AbstractList.html#subList%28int,%20int%29|AbstractList.subList(int,int)]] * ''subList()''는 원본 리스트에 대한 백 레퍼런스를 가지고 있는 원본 리스트의 View이다. * [[java:ehcache|ehcache]]에 subList로 생성한 객체를 저장하면 메모리 누수가 발생한다. * [[http://stackoverflow.com/questions/4179236/does-the-list-sublist-method-prevent-garbage-collection-of-the-rest-of-the-lis|java - Does the List subList() method prevent garbage collection of the rest of the list?]] * 해결책<code java> return new ArrayList<SomeClass>(anotherList.subList(0, 5)); </code>
java/memory/leak.txt
· 마지막으로 수정됨: 2015/11/15 14:25 저자
kwon37xi
문서 도구
문서 보기
이전 판
역링크
맨 위로