NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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


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.

permanent link

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

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

permanent link

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

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×622
×4
×1

question asked: 27 Aug '11, 16:19

question was seen: 6,507 times

last updated: 28 Aug '11, 16:48

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum