| Message: 96308 |
 |
BY: arton Tajima (arton) DATE: 2011-04-07 17:54 SUBJECT: RE: Segmentation Fault Hi Nunya
It seems jvm is 64bit app, is Ruby also 64bit ?
Please copy&paste the output of 'ruby -v' and please let me see the console output of the script using copy and paste.
require 'rjb'
p Rjb::load('myclassifier.jar', ['-Xmx400m']) # does myclassfier.jar sit on the current directory ?
$stdout.flush
MYClassifier = Rjb::import('name.of.CRFClassifier')
p MYClassifier
$stdout.flush
CLASSIFIER = CRFClassifier.getClassifier("file.gz") # is the right side 'MYClassifier.getClassfier("file.gz") ?
p CRFClassifier
$stdout.flush
| |