[Pellet-users] Error found after runing query using pellet and jena

Alan Ruttenberg alanruttenberg at gmail.com
Wed Oct 24 13:01:39 UTC 2007


Try upping some of the other memory parameters, e.g. -Xss4M
Probably worth checking out the jvm parameters page.
-Alan

On Oct 24, 2007, at 5:42 AM, Netty Rajsiri - EBM WebSourcing wrote:

> Hi all,
>
>
>
> I have an owl file containing two ontologies which one of them is  
> 8M size. I wrote a query SPARQL like this:
>
>
>
>             String queryStr0 = queryBegin + "SELECT * \r\n" + "  
> WHERE {\r\n"
>
>             + "?Service rdf:type ph:Process.\r\n"
>
>             + "?Service ph:name ?ServiceName.\r\n"
>
>
>
> I’ve tried this query with another small owl file and it runs fine.  
> Once I’ve changed ontology to this one which has large size. I’ve  
> got this error:
>
>
>
> Exception in thread "main" java.lang.StackOverflowError
>
>       at shared.SharedObjectFactory.build(SharedObjectFactory.java: 
> 247)
>
>       at aterm.pure.PureFactory.makeAppl(PureFactory.java:191)
>
>       at aterm.pure.PureFactory.makeAppl(PureFactory.java:185)
>
>       at aterm.pure.PureFactory.makeAppl(PureFactory.java:218)
>
>       at org.mindswap.pellet.utils.ATermUtils.makeNot 
> (ATermUtils.java:195)
>
>       at org.mindswap.pellet.utils.ATermUtils.negate 
> (ATermUtils.java:215)
>
>       at org.mindswap.pellet.Individual.addType(Individual.java:242)
>
>       at org.mindswap.pellet.CompletionStrategy.addType 
> (CompletionStrategy.java:225)
>
>       at org.mindswap.pellet.CompletionStrategy.applyDomainRange 
> (CompletionStrategy.java:302)
>
>       at  
> org.mindswap.pellet.CompletionStrategy.applyPropertyRestrictions 
> (CompletionStrategy.java:277)
>
>       at org.mindswap.pellet.CompletionStrategy.addEdge 
> (CompletionStrategy.java:268)
>
>       at org.mindswap.pellet.CompletionStrategy.mergeIndividuals 
> (CompletionStrategy.java:1686)
>
>       at org.mindswap.pellet.CompletionStrategy.mergeTo 
> (CompletionStrategy.java:1623)
>
>       at org.mindswap.pellet.CompletionStrategy.mergeFirst 
> (CompletionStrategy.java:1585)
>
>       at org.mindswap.pellet.CompletionStrategy.mergeTo 
> (CompletionStrategy.java:1634)
>
>>
>>
>>
>
>
> I’ve tried to changed java heap space to –Xmx1024m already but I  
> still get this error.
>
> My machine has 2 G of RAM.
>
> Please advice,
>
> Netty
>
> _______________________________________________
> Pellet-users mailing list
> Pellet-users at lists.owldl.com
> http://lists.owldl.com/mailman/listinfo/pellet-users
> _______________________________________________
>
> Sponsored by Clark & Parsia, LLC http://clarkparsia.com/



More information about the Pellet-users mailing list