Hello, epubcheck maintainers. This problem was described in epubcheck troubleshooting document. https://github.com/w3c/epubcheck/wiki/Running#javalangstackoverflowerror Just add 1024kb or more stack to fix this error. > java -Xss1024k -jar epubcheck.jar moby-dick.epub -- YOKOTA