This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

[closed] Is the -Xmx1024M attribute still required for JOSM-latest

1

I have up to now always started JOSM with a batch file that delegated more RAM to JOSM. Is this still necessary. I am using Version 4279.

asked 27 Aug '11, 16:19

dcp's gravatar image

dcp
721374456
accept rate: 0%

closed 28 Aug '11, 14:50

1

Existence of an acceptable answer is usually not a reason to close the question.
Specifically this question has not even an accepted answer. (Answer can by accepted by clicking the check mark next to voting buttons.)

(28 Aug '11, 16:48) LM_1

The question has been closed for the following reason “The question is answered, right answer was accepted” by dcp 28 Aug ‘11, 14:50


2 Answers:

5

It depends on the memory usage of JOSM which then again depends on the size and level of detail of the area you are editing as well as loaded plugins, presets etc. Better specify a high enough value if you don't want to end up with a bunch of error messages during editing because JOSM ate up all the default amount of memory.

answered 27 Aug '11, 19:25

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

Thanks for the prompt answer. That is to me a definite requirement.

(28 Aug '11, 06:41) dcp

3

Short answer: YES
I am using the same version and without this option it threw errors or got stuck. With -Xmx1024m option it does not encounter any errors and the operation feels even smoother and faster.
You do not need a batch file to do this though, just a shorcut link (*.lnk) is enough (Windows).

btw the target is "C:\Program Files (x86)\Java\jre6\bin\javaw.exe" -jar -Xmx1024M "C:\josm-location\josm-tested.jar" on x64 Win7

answered 27 Aug '11, 17:52

LM_1's gravatar image

LM_1
3.3k335188
accept rate: 10%

I am quite familiar batch files from the very old DOS days 1980's. I don't know about the *.lnk (I know it is a file) concept and how to use it and that is of course my deficit. Thanks all the same.

(28 Aug '11, 06:44) dcp

Source code available on GitHub .