Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] large ontology stackoverflow on save - HOWTO change writer in API?

Timothy Redmond 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

	http://protege.cim3.net/cgi-bin/wiki.pl?SettingHeapSize

-Timothy


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 " +  
> owlModel.getWriterSettings());
> ...
>
> but still get the stack overflow.  What am I doing wrong?
>
> Thanks.
>
> =
> 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.
> http://a8-asy.a8ww.net/a8-ads/adftrclick? 
> redirectid=cb8c5c25072c9cdd11da4f216357c41d
>
> _______________________________________________
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>
> Instructions for unsubscribing: http://protege.stanford.edu/doc/ 
> faq.html#01a.03




More information about the protege-owl mailing list