This seems to work: Target: "C:\Program Files\Java\jre1.6.0_07\bin\java.exe" -jar -Xms1G -Xmx1G josm-latest.jar Start In: "C:\Program Files\JOSM"
I tried capital G and little g but the issue seems to be the amount of memory. Changing it to -Xms2G -Xmx2G doesn't work. This also seems to work: Target: "C:\Program Files\Java\jre1.6.0_07\bin\java.exe" -jar -Xms1g -Xmx1g "C:\Program Files\JOSM\josm-latest.jar" Start In: "C:\Documents and Settings\Owner\Desktop" I can't seem to cut and paste into command now although I could earlier and it seems that quotes are handled differently in the command prompt. I'm not even sure if command can do long file names. Is there a way to run the shortcut so the window gives you some debugging information? On 1/17/09, David Newman <[email protected]> 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: [email protected] [mailto:newbies- >> [email protected]] 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 >> [email protected] >> >> _______________________________________________ >> newbies mailing list >> [email protected] >> http://lists.openstreetmap.org/listinfo/newbies > > _______________________________________________ > newbies mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/newbies > -- Jeffrey John Martin [email protected] _______________________________________________ newbies mailing list [email protected] http://lists.openstreetmap.org/listinfo/newbies

