[OSM-newbies] JOSM memory

Jeffrey Martin dogshed at gmail.com
Sat Jan 17 05:38:22 GMT 2009


I tried this, but it didn't work:

java -jar -Xms2g -Xmx2g C:\Program Files\JOSM\josm-latest.jar

I pasted it into the command box and I tried it as a batch file.

On 1/17/09, David Newman <dfn at mit.edu> wrote:
> You want to replace the hash marks '#' with a number.    This is how I start
> josm:
>
> java -jar -Xms2g -Xmx2g josm-latest.jar
>
> This sets both the minimum and maximum java heap size to 2GB.  It's probably
> best to try 1GB first.
>
> -Dave
>
>> -----Original Message-----
>> From: newbies-bounces at openstreetmap.org [mailto:newbies-
>> bounces at openstreetmap.org] On Behalf Of Jeffrey Martin
>> Sent: Friday, January 16, 2009 9:33 PM
>> To: newbies
>> Subject: [OSM-newbies] JOSM memory
>>
>> In JOSM I get a message saying to add -Xmx ###M
>>
>> I'm in XP so the dash probably won't work.
>>
>> I tried to make shortcut and add the -Xmx###M to the command.
>>
>> --
>> Jeffrey John Martin
>> dogshed at gmail.com
>>
>> _______________________________________________
>> newbies mailing list
>> newbies at openstreetmap.org
>> http://lists.openstreetmap.org/listinfo/newbies
>
> _______________________________________________
> newbies mailing list
> newbies at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/newbies
>


-- 
Jeffrey John Martin
dogshed at gmail.com




More information about the newbies mailing list