OutOfMemoryError

74 views
Skip to first unread message

Alfredo Serafini

unread,
Mar 2, 2012, 9:18:37 AM3/2/12
to empir...@googlegroups.com
Hi i'm using the latest snapshot, and play with the examples as a stating point, in particular in com.clarkparsia.empire.examples

I receive a strange error:
[ERROR][class  ] Trying to get a virtual dispatch offset for interface com/clarkparsia/empire/SupportsRdfId$RdfKey
Exception in thread "Main Thread" java.lang.OutOfMemoryError: allocLargeObjectOrArray: [C, larger than Java heap

can saomeone suggest me a way to fix this, possibily without changing the java configuration?
The ideal way would using some sort of setConfigParameters methodo, via java api.

Thanks in advance for any help
Alfredo

Mike Grove

unread,
Mar 2, 2012, 9:40:56 AM3/2/12
to empir...@googlegroups.com
It would be useful if you provided how much memory you're giving the
JVM, how you are running the examples, and the complete stack trace of
the error.

Given the little information you've provided, I don't have anything to
suggest. I can run the examples from my IDE and by hand w/ javac
using the default amount of memory allocated to the JVM and Empire
itself has a very small memory footprint as it keeps very little
internal state, so it seems unlikely that it's doing something wrong
with the examples in a standard setup.

Cheers,

Mike

Reply all
Reply to author
Forward
0 new messages