Modify

Ticket #2495 (closed defect: duplicate)

Opened 3 years ago

Last modified 3 years ago

Select tool extremely sluggish

Reported by: osm@… Owned by: team
Priority: major Component: Core
Version: latest Keywords:
Cc: karl.guggisberg@…

Description

The select tool in JOSM 1561 (W_XP) is so slow that I can watch the lines beeing drawn. IIRC this was not the case in JOSM 1546 I used before.

Attachments

Change History

comment:1 Changed 3 years ago by fatbozz

Try JOSM run in this mode.

java -Dsun.java2d.d3d=false josm-latest.jar

comment:2 Changed 3 years ago by anonymous

I already get a number of error message when I try to start JOSM with "java josm-latest.jar" from the Command Prompt. Usually I use just "josm-latest.jar". How do I add the start option? (note this is Windows XP)

comment:3 Changed 3 years ago by fatbozz

1,Open notepad
2,Write or copy command there
3,Save it without txt extension (2nd option in combo menu when save) append CMD extension.
4,Move this bath file in folder where josm-latest.jar is saved and run
5,You can see some debug msg, but you are now running josm with some parameters. You can extend your memory there. Add -Xmx1024M for example.

comment:4 follow-up: ↓ 5 Changed 3 years ago by anonymous

When I do as you wrote I get the error messages mentioned:

Exception in thread "main" java.lang.NoClassDefFoundError: josm-latest/jar
Caused by: java.lang.ClassNotFoundException: josm-latest.jar
...
Could not find the main class: josm-latest.jar. Program will exit

comment:5 in reply to: ↑ 4 Changed 3 years ago by Gubaer

Replying to anonymous:

When I do as you wrote I get the error messages mentioned:

Exception in thread "main" java.lang.NoClassDefFoundError: josm-latest/jar
Caused by: java.lang.ClassNotFoundException: josm-latest.jar
...
Could not find the main class: josm-latest.jar. Program will exit

try

java -Dsun.java2d.d3d=false -jar josm-latest.jar

comment:6 Changed 3 years ago by Gubaer

  • Cc karl.guggisberg@… added

comment:7 Changed 3 years ago by osm@…

Thanks, I was able to start it now and the sluggish behaviour disappeared. What does that mean exactly? Is this still a bug in a component which can be switched off and shouldn't this option be disabled then by default?

comment:8 Changed 3 years ago by anonymous

  • Status changed from new to closed
  • Resolution set to duplicate

Its problem of JAVA. You can see #2184

comment:9 Changed 3 years ago by anonymous

Closed as duplicate of #2184.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.