eclipse - Java Heap Size Error -
i building movie reccomendation system apache mahout, using 540mb dataset occurs problem in execution
exception in thread "main" java.lang.outofmemoryerror: gc overhead limit exceeded . .etc.. . picked _java_options: -xmx512m
so searched on web , learned problem coming heap size can see exception "picked _java_options: -xmx512m" part , , tried change in eclipse -> run configurations ->vm parameters not working opened command prompt in class file path(file , shift+ctrl , open command window here) , wrote these change limits minimum 512 maximum 1024
>java -xms512m -xmx1024m suggestionmain
but time , exception occured below
picked _java_options: -xmx512m error: jni error has occurred, please check installation , try again exception in thread "main" java.lang.noclassdeffounderror: org/apache/mahout/cf/ taste/model/datamodel @ java.lang.class.getdeclaredmethods0(native method) @ java.lang.class.privategetdeclaredmethods(unknown source) @ java.lang.class.privategetmethodrecursive(unknown source) @ java.lang.class.getmethod0(unknown source) @ java.lang.class.getmethod(unknown source) @ sun.launcher.launcherhelper.validatemainclass(unknown source) @ sun.launcher.launcherhelper.checkandloadmain(unknown source) caused by: java.lang.classnotfoundexception: org.apache.mahout.cf.taste.model.da tamodel @ java.net.urlclassloader.findclass(unknown source) @ java.lang.classloader.loadclass(unknown source) @ sun.misc.launcher$appclassloader.loadclass(unknown source) @ java.lang.classloader.loadclass(unknown source) ... 7 more
i couldn't understand , solve problem here can me solve memory problem?
thank help
Comments
Post a Comment