Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Juan Miguel Cejuela <juanmi <at> jmcejuela.com>
Subject: Re: Problem with eclipse
Newsgroups: gmane.comp.ai.mallet.devel
Date: Wednesday 22nd February 2012 10:00:32 UTC (over 5 years ago)
Give more memory to java. Go to run configurations, select your Application
run, select the tab "Arguments" in the the text box "VM arguments" and add
*
-Xmx2000m* or more memory if needed.

2012/2/22 Nounou Biatrice 

> Hi,
> I'm doing classification with mallet Naive Bayes.
> When I execute the program under eclipse, an error occurred.
> here is the error:
>
> Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
>     at cc.mallet.types.SparseVector.(SparseVector.java:84)
>     at cc.mallet.types.SparseVector.(SparseVector.java:101)
>     at cc.mallet.types.SparseVector.(SparseVector.java:104)
>     at cc.mallet.types.FeatureVector.(FeatureVector.java:75)
>
> Could anyone help me to resolve the problem.
>
>
> --
> Best regards,
> ---
> *"Someone is sitting in the shade today, because someone planted a tree a
> long time ago." Warren Buffett.*
> *---*
>
>
>


-- 
Juan Miguel Cejuela
 
CD: 3ms