[OSM-talk] JOSM on Raspberry pi 4

stevea steveaOSM at softworkers.com
Tue Dec 22 00:37:14 UTC 2020


John:

One can tweak the "heap space" (maximum running memory consumed by the java runtime environment) with command-line parameters that specify a maximum amount of RAM to consume.  For example, if you want no more than exactly 256 MB (1/4 a GB):

java -Xmx256m -jar josm-latest.jar

On "big iron" machines, I've seen 2048 (2 GB) used, which yields some pretty "fat buffering" possibilities.  On a RPi, it obviously depends on how much RAM the machine has, but I've gotten a lot of useful work done with 128 MB (in the "old days" of when I first started to use JOSM around 2010) and 256 MB.  These days, I'd guess 512 MB or more is "comfortable," but it's good to know you can keep it within a specified RAM footprint with that "max heap" parameter.

SteveA

On Dec 21, 2020, at 4:15 PM, James <james2432 at gmail.com> wrote:
> wget https://josm.openstreetmap.de/josm-latest.jar
> 
> java -jar josm-latest.jar
> 
> in a terminal
> 
> On Mon., Dec. 21, 2020, 7:13 p.m. John Whelan, <jwhelan0112 at gmail.com> wrote:
> I don't know enough about the pi to know where to copy it to. Getting the latest .jar isn't a problem.
> 
> Thanks John




More information about the talk mailing list