Closed kcoleman-marklogic closed 6 years ago
Committed the fix for this on the wrong issue. See https://github.com/marklogic-community/RunDMC/commit/d81954d66c184e9654dec705951c56fba65744cf.
Tested against my installation. I verified that the normal sized javadoc files are properly loaded and searchable. The overly large file is still loaded and viewable, but not being included searches.
The changes affects only the loading of the javadoc files from the doc ZIP package, so the blast radius is small.
In my development environment, which is not as resource-rich as pubs, stage, and live, loading the doc zip fails to load the Java Client API javadoc because overview-tree.html exceeds the max text file limit. That portion of the load fails with an XDMP-TOOBIG error.
I discovered this and tinkered with a workaround last summer, but never got around to dropping it into the source code. The workaround is to trap the XDMP-TOOBIG exception and re-try the load of the failed file as a binary document. It means the file won't be searchable (e.g. skips the indexes), but we really don't care.