Re: kbtrans OutOfMemoryError

> I got this error on my Linux system, and I thought it was because I only had 48 MB RAM.
> But now I'm getting it on my WinXP Pro system, which has 512 MB RAM.
> 
> $ . ./kbtrans.env
> $ r java
> java kbtrans -i tap.rdf -o tap.mcf
> Exception in thread "main" java.lang.OutOfMemoryError
> $
> 
> Do I need to split tap.rdf into smaller pieces to process it?

No, Java's default limits are too small to process the file though. 
Run Java like this:

  java -Xmx256m -Xss1024k -Xms48m 

and it ought to work.

Received on Wednesday, 15 January 2003 12:25:49 UTC