[osmosis-dev] Problem with rb Java heap space

Brett Henderson brett at bretth.com
Sun Jun 10 12:41:35 BST 2012


On 16 April 2012 21:42, Michael Knerrich <mkk2812 at live.de> wrote:

>  Hi
>
> i got the same problem as the guy in the thread
> http://forum.openstreetmap.org/viewtopic.php?id=16038
> i am just wondering if this is a bug or if there might be an option to
> encrease the memory
> I also tested it on a obuntu linux but got the same error
>
> regards
>
> Mike
>

Hi Mike,

You can create a .osmosis file in your home directory and add the following
line to it to give Osmosis 1GB of memory:
JAVACMD_OPTIONS=-Xmx1G

You can experiment with this value by increasing or decreasing it as
appropriate.

Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20120610/b12c01c6/attachment.html>


More information about the osmosis-dev mailing list