[josm-dev] R: R: R: R: R: FW: [OSM-newbies] JOSM problems - is it just me?

Fabrizio Carrai fabrizio.carrai at gmail.com
Mon Jun 22 19:07:42 BST 2009


I enclose the message I sent with the solution that I found.
As discussed in the JOSM trac, the problem is in the Java machine.
I'm not an expert, but it seems that it can be done very few at the app
layer.

Ciao
	Fabrizio

> -----Messaggio originale-----
> Da: josm-dev-bounces at openstreetmap.org
> [mailto:josm-dev-bounces at openstreetmap.org]Per conto di Frederik Ramm
> Inviato: lunedi 22 giugno 2009 14.54
> A: Michael Bemmerl
> Cc: josm-dev at openstreetmap.org
> Oggetto: Re: [josm-dev] R: R: R: R: FW: [OSM-newbies] JOSM
> problems - is it just me?
>
>
> Hi,
>
> Michael Bemmerl wrote:
> >> we're missing a bit of context here...
> >
> > Er.. didn't you looked at the messages I replied to?
>
> No, they were on a different mailing list.
>
> > Anyway, Java has a bug since 1.6.0_11, that throws an
> > EXCEPTION_ACCESS_VIOLATION exception on low memory environments. This
> > causes a crash of all Java apps, including JOSM.
>
> Anything we as application developers can do about this?
>
> Bye
> Frederik
>


----------------------------------------------------------------------------
--------------------------------------
It looks like I found the solution!!!
It seems to "happen with machines with low video ram". I've an NVidia
Geoforce 6150 (shared memory 512MB): no idea if it falls in such category,
but now it works!

As in [1] the solution is to start JOSM including the Java option
"sun.java2d.d3d=false":

C:\WINDOWS\system32\javaw.exe  -Dsun.java2d.d3d=false  -Xmx800M -jar
C:\Programmi\Josm\josm-latest.jar

I'm now working since several hours with JOSM doing several changes and
uploads: no crashes till now! Before it was happening after very short
editing sessions.

Continuing testing!

Ciao!
	Fabrizio

[1] http://stackoverflow.com/questions/379574/possible-java-jna-issue





More information about the josm-dev mailing list