web developer👩🏻‍💻

  • 홈
  • 태그
  • 방명록

outofmemoryerror 방지 1

POI SAX XSSFReader 대용량 엑셀 파일 읽기 OOME(Out of Memory Error) 방지

* 일단 시작 전에 대용량 테스트를 위한  eclipse Heap 영역 늘리기eclipse .ini 파일을 열기 Xms (시작크기) / Xmx (최대크기) 수정하기 참고로 Xmx 최대크기는 자기의 pc ram 사양을 확인하고 바꾸기 추천  JVM 메모리 체크하는 방법 // 엑셀 파일 처리 전의 메모리 상태 출력Runtime runtime = Runtime.getRuntime();long memoryBefore = runtime.totalMemory() - runtime.freeMemory();totalMemory(): JVM이 할당한 전체 메모리 양을 반환. JVM의 초기 메모리 크기와 최대 메모리 크기를 합친 값 freeMemory(): 현재 사용 가능한 메모리 양을 반환. 현재 할당된 메모리 중에서..

Spring 2024.05.23
이전
1
다음
더보기
프로필사진

web developer👩🏻‍💻

  • Category (192)
    • Spring (31)
      • Spring Boot (2)
    • js (64)
    • DB (24)
    • multi (7)
    • css (7)
    • 형상관리 (6)
    • 정보처리기사 (1)
    • Tistory (5)
    • Basic (14)
    • iOS (24)
    • Error (5)

Tag

ios app 개발, xcode swift memo, Oracle, Xcode, 윈도우심볼릭, swift 메모장 만들기, poi monitorjbl, monitorjbl 엑셀, 윈도우심볼릭링크걸기, spring annotation, PostgreSQL, xlsx-streamer, mysql, monitorjbl, MSsql, swift 계산기, jxls 엑셀, xcode12.5.1, Swift, jxls,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/07   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바