[josm-dev] Memory limitation?

Brent Easton b.easton at exemail.com.au
Sat Oct 13 07:39:23 BST 2007


Hi Arne,

The default stack size allocated to java when it starts up is relatively small, you need to increase this using the -Xmx parameter.

Try

java -Xmx512M -jar JOSM-latest.jar

or

java -Xmx768M -jar JOSM-latest.jar

Regards,
Brent.


*********** REPLY SEPARATOR  ***********

On 13/10/2007 at 2:20 PM Arne Goetje  wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

when dealing with a
>lot of data in JOSM, it occasionally throws an error
at me saying that my
>memory is not enough and that I should restart JOSM
and use a smaller
>dataset...
However, I have 1.5GB RAM available and most of it is still
>available.
It appears to be a java stack overflow...

Is this a bug or
>intended behaviour?

Can the memory/stack size be increased
>somehow?

Cheers
Arne
- --
Arne Götje (高盛華)
><arne at linux.org.tw>
PGP/GnuPG key: 1024D/685D1E8C
Fingerprint: 2056 F6B7
>DEA8 B478 311F  1C34 6E9F D06E 685D 1E8C
Key available at wwwkeys.pgp.net.
>  Encrypted e-mail preferred.

-----BEGIN PGP SIGNATURE-----
Version:
>GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla -
>http://enigmail.mozdev.org

iD8DBQFHEGOVbp/QbmhdHowRArcRAKDRmnuHuZS29YQ0INV+lJHC+J9LgQCaAl/o
0uBDCfxttvTWJY79ARDOkaU=
=ctup
-----END PGP SIGNATURE-----

_______________________________________________
josm-dev mailing list
josm-dev at openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/josm-dev
No virus found in this incoming message.
>Checked by AVG Free Edition. 
>Version: 7.5.488 / Virus Database: 269.14.9/1067 - Release Date: 12/10/2007 6:02 PM


____________________________________________________________
Brent Easton                       
Analyst/Programmer                               
University of Western Sydney                                   
Email: b.easton at uws.edu.au





More information about the josm-dev mailing list