[OSM-dev] Java Heap Space

Brett Henderson brett at bretth.com
Mon Apr 27 07:48:47 BST 2009


Mohamad Ali wrote:
>
> Hi,
>
> How do I increase Osmosis Java Heap Space?
>
> Thanks
>
If you're using a bash shell, run the following command before running 
osmosis:
export JAVACMD_OPTIONS=-Xmx512M

You can create a file called /etc/osmosis or $HOME/.osmosis and add the 
above line to it so that is always gets set before launching osmosis.

I hope that's the correct syntax, I don't have access to a linux machine 
to double check it right now.





More information about the dev mailing list