rJava -- NLP, java heap error

ساخت وبلاگ

Vote count: 0

I'm trying to run the NLP and openNLP packages in R with rJava, and I keep getting a similar error: Java.lang.OutOfMemoryError: Java heap space.

I've already tried:

options( java.parameters = "-Xmx4g" ) library( "RWeka" )

I've also tried increasing to 8g. Still running out of space, still crashing R.

I'm working on annotating a .txt file-- a large one, yes, but just one file. Trying to extract location names. Any ideas how I can fix this issue?

Thanks!

asked 2 mins ago

back soft...
ما را در سایت back soft دنبال می کنید

برچسب : نویسنده : استخدام کار backsoft بازدید : 273 تاريخ : جمعه 10 ارديبهشت 1395 ساعت: 21:56