[Mulgara-general] Files mapped
Paul Gearon
gearon at ieee.org
Fri Feb 29 22:52:18 UTC 2008
On Fri, Feb 29, 2008 at 11:20 AM, Pascal Nicolas
<nicolas.pascal at atosorigin.com> wrote:
> I'm using Mulgara on a Linux 32-bit platform with a sun jdk1.5.0_6.
>
> At the moment threre are 21 millions of triples in my database and when I
> start Mulgara I get this exception :
>
> java.io.IOException: Cannot allocate memory
>
> It's written in the documentation that Mulgara can be started in one of
> three modes: all files mapped, index files mapped and no files mapped.
>
> May be I missed it, but I didn't find more information on how to start
> Mulgara in one of these three modes.
I don't know if this is documented anywhere, but it's a switch on the
command line:
java -Dmulgara.xa.forceIOType=explicit -jar mulgara-1.1.1.jar
The two accepted options are "explicit" and "mapped".
> If you've got an other idea to resolve my problem …
What if you try adding -Xmx ? For instance, the tests use a maximum
heap size of 192 MB with -Xmx192m. You could try a higher value?
Paul
More information about the Mulgara-general
mailing list