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

2009-06-22 Thread Frederik Ramm
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



___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


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

2009-05-09 Thread Michael Bemmerl
Thanks Fabrizio, that did the trick!

Fabrizio Carrai schrieb:
  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!

I have a GeForce 7300 GT with 256 MB on board.

 
  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.

Me too.

  Continuing testing!
 
  Ciao!
  Fabrizio
 
  [1] http://stackoverflow.com/questions/379574/possible-java-jna-issue

Bye,
Michi




signature.asc
Description: OpenPGP digital signature
___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


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

2009-05-07 Thread Fabrizio Carrai
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

 -Messaggio originale-
 Da: Michael Bemmerl [mailto:osm-t...@mx-server.de]
 Inviato: giovedì 7 maggio 2009 0.25
 A: Fabrizio Carrai
 Oggetto: Re: [josm-dev] R: R: R: FW: [OSM-newbies] JOSM problems - is it
 just me?


 Fabrizio Carrai schrieb:
  It has been closed. The problem has been considered to belong
 to Java and
  not to JOSM (no fix).
  I'll keep continue to update the Java VM... :-(

 I have the same problem and I think Java 1.6.0_09 or so introduced this
 issue. I have other Java apps running (e.g. TV-Browser), which don't
 crash. JOSM is the only java app that crashes so constantly and
 frequently (after six seconds of usage, as stated in the hs_err_pid-file).

 I tried different -Xmx values (I normally use 1024M), but that didn't
 helped. I don't think that the maximum memory usage is a problem here,
 because JOSM already crashes with about 40 MB of memory used (as seen in
 the status report).

 But I found a solution to work around this Java bug:
 As I looked in the task manager, I noticed that Thunderbird and other
 non-java apps consumed about 1 gig of memory. After I closed every non
 vital app, JOSM never crashed again.

 Well, my workaround it's not nice, but it works (at least for me).

 Bye,
 Michi


 Nessun virus nel messaggio in arrivo.
 Controllato da AVG - www.avg.com
 Versione: 8.5.325 / Database dei virus: 270.12.19/2099 -  Data di
 rilascio: 05/05/09 13:07:00



___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev