Johnson, I usually use -Xmx4096m when training, though you might be able to get away with a little less. I've seen training use up to about 2-3G of memory.
James On 12/10/2011 2:11 AM, Johnson J wrote: > Hi, > > I am using document Categorizer tool and trying to train my document that > size is nearly 200 MB, hence I got the out of memory error in GISModel > class, this is class creating two dimensional array of float as well as two > dimensional array of object. I tried to increase the heap to -Xmx1550m, > since I have the 4GB RAM, please tell me is there any way to solve this > error for large training text. > > Thanks in advance, > Johnson J. >