mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro Binhara <binh...@gmail.com>
Subject Re: Group lens example
Date Thu, 02 Dec 2010 20:36:08 GMT
ok..

i try another file ..
http://www.grouplens.org/system/files/million-ml-data.tar__0.gz
it works..

but I recevi a out of  memory error ..

*root cause*

java.lang.OutOfMemoryError: Java heap space


i put on tomcat init scritp , a config memory of jvm :

if [ -z "$JAVA_OPTS" ]; then
        JAVA_OPTS="-Xms512m -Xmx1024m -XX:MaxPermSize=384m -Xss256k
-Djava.awt.headless=true"
fi

I am use a Ubuntu server to test this...
did you have another sugestion ?

thanks .. for help.


On Thu, Dec 2, 2010 at 4:57 PM, Sean Owen <srowen@gmail.com> wrote:

> I'm not sure what file you are feeding it but it is not the right data
> file.
> Check your input.
>
> On Thu, Dec 2, 2010 at 6:43 PM, Alessandro Binhara <binhara@gmail.com
> >wrote:
>
> > Hello all ..
> >
> > I have a sucess to deploy grouplens example in tomcat..
> >
> > but..i got this error :
> >
> > I checked the data file and it is not corrupted.
> >
> >
> > ** Exception report
> >
> > *message* **
> >
> > *description* *The server encountered an internal error () that prevented
> > it
> > from fulfilling this request.*
> >
> > *exception*
> >
> > javax.servlet.ServletException: Servlet.init() for servlet
> > taste-recommender threw exception
> >
> >
>  org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> >
> >
>  org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
> >
> >
>  org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
> >
> >
>  org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
> >
> >  org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
> >        java.lang.Thread.run(Thread.java:636)
> >
> > *root cause*
> >
> > java.io.IOException: Unexpected input format on line: 1474
> >
> >
>  org.apache.mahout.cf.taste.example.grouplens.GroupLensDataModel.convertGLFile(GroupLensDataModel.java:63)
> >
> >
>  org.apache.mahout.cf.taste.example.grouplens.GroupLensDataModel.<init>(GroupLensDataModel.java:48)
> >
> >
>  org.apache.mahout.cf.taste.example.grouplens.GroupLensDataModel.<init>(GroupLensDataModel.java:40)
> >
> >
>  org.apache.mahout.cf.taste.example.grouplens.GroupLensRecommender.<init>(GroupLensRecommender.java:41)
> >        sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> > Method)
> >
> >
>  sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> >
> >
>  sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> >        java.lang.reflect.Constructor.newInstance(Constructor.java:532)
> >        java.lang.Class.newInstance0(Class.java:372)
> >        java.lang.Class.newInstance(Class.java:325)
> >
> >
>  org.apache.mahout.cf.taste.web.RecommenderSingleton.<init>(RecommenderSingleton.java:51)
> >
> >
>  org.apache.mahout.cf.taste.web.RecommenderSingleton.initializeIfNeeded(RecommenderSingleton.java:42)
> >
> >
>  org.apache.mahout.cf.taste.web.RecommenderServlet.init(RecommenderServlet.java:74)
> >
> >
>  org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> >
> >
>  org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
> >
> >
>  org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
> >
> >
>  org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
> >
> >  org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
> >        java.lang.Thread.run(Thread.java:636)
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message