[OSM-talk] Osmosis heap space, tuning not working

Michal Migurski mike at stamen.com
Sun Oct 7 00:05:35 BST 2012


On Oct 6, 2012, at 3:44 PM, Frederik Ramm wrote:

> Hi,
> 
> On 06.10.2012 23:00, Michal Migurski wrote:
>> I'm running Osmosis on a complete recent planet, and seeing memory errors.
>> 
>> My ~/.osmosis file looks like this:
>> 
>> 	JAVACMD_OPTIONS=-server
>> 	JAVACMD_OPTIONS=-Xmx16G
> 
> If you write it this way, the 2nd line cancels out the 1st. You need to write
> 
> JAVACMD_OPTIONS="-server -Xmx16G"
> 
> - if your two lines had been the other way round then that would likely been the cause of the problem, however since in your setting it is the -server that is cancelled out, this likely won't help much ;(


I get it, they replace instead of append. Thanks Frederick, I'll try it out!

(settles in for a few-hour wait)

-mike.

----------------------------------------------------------------
michal migurski- mike at stamen.com
                 415.558.1610






More information about the talk mailing list