> On Jun 17, 2014, at 21:18, Randomcoder <randomcod...@gmail.com> wrote: > > On Tue, Jun 17, 2014 at 08:54:50PM -0700, Andi Vajda wrote: >>> [..] >>> terminate called after throwing an instance of 'std::bad_alloc' what(): >>> std::bad_alloc Aborted >>> [..] >>> Has anyone bumped into this before ? >> >> You might need to increase the RAM default for the JVM when calling >> initVM(). Please, see initVM() docs on this page for more details: >> http://lucene.apache.org/pylucene/jcc/features.html > > Thank you Andi, I will try to increase the jvm memory. > But if this was indeed a jvm problem, shouldn't a jvm exception be thrown > instead of the C++ runtime std::bad_alloc ?
With JNI, all is possible. And without a stacktrace (no attachments please), it's just a guess. Andi.. > >> >> Andi..