W3C home > Mailing lists > Public > public-rdf-tap@w3.org > January 2003

Re: kbtrans OutOfMemoryError

From: Rob McCool <robm@robm.com>
Date: Wed, 15 Jan 2003 09:25:16 -0800
To: "Richard H. McCullough" <rhm@cdepot.net>
Cc: public-rdf-tap@w3.org
Message-ID: <20030115092516.A13923@flapjack.stanford.edu>

> 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 22 March 2009 02:45:11 GMT