Notice
Recent Posts
Recent Comments
Link
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |
Tags
- swift ๋ฉ๋ชจ์ฅ ๋ง๋ค๊ธฐ
- fullcalendar js
- mysql
- js ์ ์์๋ช
- spring annotation
- ์ ์์๋ช ๊ฐ๋ฐ
- Swift
- MSsql
- xcode swift memo
- outofmemoryerror ๋ฐฉ์ง
- opcpackage
- ๋ฌ๋ ฅ๊ธฐ๋ฅ๊ฐ๋ฐ
- jxls
- xlsx-streamer
- swift ๊ณ์ฐ๊ธฐ
- ์ ์์๋ช ๊ธฐ๋ฅ๊ตฌํ
- js๋ฌ๋ ฅ
- jxls ์์
- monitorjbl
- xssfworkbook
- PostgreSQL
- ios app ๊ฐ๋ฐ
- xssreader
- monitorjbl ์์
- poi ๋์ฉ๋
- poi monitorjbl
- xcode12.5.1
- Xcode
- Oracle
- ๋์ฉ๋์์ ์ ๋ก๋
Archives
- Today
- Total
๋ชฉ๋ก๋์ฉ๋์์ ์ ๋ก๋ (1)
web developer๐ฉ๐ป๐ป
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. 5. 23. 16:23