mimno / Mallet

MALLET is a Java-based package for statistical natural language processing, document classification, clustering, topic modeling, information extraction, and other machine learning applications to text.
https://mimno.github.io/Mallet/
Other
989 stars 344 forks source link

Java heap space with CRF execution #131

Open RebaneKoo opened 6 years ago

RebaneKoo commented 6 years ago

Hi,

I trained a smallish CRF model. When trying to execute it, it gives me an out of memory Java heap space message and stops (cf. screen shot)

What can I do?

BR,

Kimmo Kettunen javaheapspace.pdf

casutton commented 6 years ago

I can't see the command line that you are giving to Mallet, but I'm assuming that you have tried increasing the Java heap space using -Xmx and/or -Xms?

Best wishes Charles

On 21 Jun 2018, at 2:06, RebaneKoo wrote:

Hi,

I trained a smallish CRF model. When trying to execute it, it gives me an out of memory Java heap space message and stops (cf. screen shot)

What can I do?

BR,

Kimmo Kettunen javaheapspace.pdf

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/mimno/Mallet/issues/131

-- Charles Sutton Reader in Machine Learning University of Edinburgh Fellow, The Alan Turing Institute * http://homepages.inf.ed.ac.uk/csutton/

Please excuse brevity: http://theoatmeal.com/comics/email_monster

The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.