[OSM-talk] JOSM on Raspberry pi 4
John Whelan
jwhelan0112 at gmail.com
Tue Dec 22 00:41:48 UTC 2020
Useful but with 8 gigs available on the pi 4 memory isn't quite the
problem it once was. I've been playing with it more to see if it would
run. On a lower end pi, it can be made to run but on the pi4 there is
quite a respectable processor.
Personally I'll continue my edits on my 16 gig ecc memory xeon
workstation with JOSM given more than the standard memory but I was more
exploring if the pi has become practical for JOSM and I think it has and
that might open up some possibilities.
Cheerio John
stevea wrote on 2020-12-21 19:37:
> 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
--
Sent from Postbox <https://www.postbox-inc.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20201221/78a3da30/attachment.htm>
More information about the talk
mailing list