Search Mailing List Archives
[protege-owl] large ontology stackoverflow on save - HOWTO change writer in API?
tredmond at stanford.edu
Wed Apr 25 16:08:42 PDT 2007
Unless you have already maxed this setting out you need to set the -
Xmx java parameter. See
On Apr 25, 2007, at 11:50 AM, B Gates wrote:
> I have a large ontology. I get stack overflow exceptions when
> trying to write
> out the owl file. Jena is the default writer using the API. In
> the Protege
> GUI, I can change the default writer by selecting:
> Protege menu -> OWL -> Preferences -> General tab -> RDF/XML Writer
> Settings ->
> Experimental native writer
> Thanks to Yi for that tip.
> I can't, however, do the same with the API. I tried the following:
> ProtegeWriterSettings pws = new ProtegeWriterSettings( owlModel );
> owlModel.setWriterSettings( pws );
> System.out.println("Writer Settings " +
> but still get the stack overflow. What am I doing wrong?
> Hybrid Electric Car - 65 Coupe
> We are building a hybrid electric 65 coupe replica that we are
> going to take on a coast to coast, 4 corner drive of the US racing
> the 1/4 mile along the way.
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> Instructions for unsubscribing: http://protege.stanford.edu/doc/
More information about the protege-owl