sax parser problem

parser has reached the entry expansion limit 64,000

기본적으로 jaxp 파서가 처리할 수 있는 element의 갯수(?)가 64,000개라고 한다.
5g짜리 xml 파일을 파싱하다가 알아버렸다.

그래서 다음과 같이 해결해 버렸다.

java -Xmx6000M -DentityExpansionLimit=200000 실행파일

참 그전에 자바에서 outofmemoryerror가 나서 Hospot VM의 메모리의 기본값(Heap memory)의 사이즈도 확 늘려줬다 :)

이어지는 내용

Posted by hongiiv

2006/02/09 20:57 2006/02/09 20:57
Response
No Trackback , No Comment
RSS :
http://socmaster.homelinux.org/~hongiiv/rss/response/44

Trackback URL : http://socmaster.homelinux.org/~hongiiv/trackback/44

Leave a comment
[로그인][오픈아이디란?]
« Previous : 1 : ... 498 : 499 : 500 : 501 : 502 : 503 : 504 : 505 : 506 : ... 543 : Next »


야후 블로그 벳지


Site Stats

Total hits:
291932
Today:
102
Yesterday:
234