Closed saramsey closed 1 year ago
Would using ObjectWriter.writeValue(output_stream, object_value)
make sense?
Forgive me if this doesn't make sense; my Java is pretty rusty.
I think this has been fixed with the addition of these methods:
Closing this now. Please re-open if it's not fixed.
Hi, I have a 5.5 GB OWL file "umls.owl". When I run
robot convert --input umls.owl --output umls.json
on a machine with 392 GB of RAM (and with '-Xmx390G' passed to java), I get the following exception:
I wonder if the problem is that
OgJsonGenerator.prettyJsonString
is callingmapper.writerWithDefaultPrettyPrinter
which may be trying to return a massiveString
object that is bigger than Java can handle (maximum size of 2147483647 bytes, I believe). Is there a way to circumvent this issue so robot can write out larger JSON files using the obographs package?