Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#2495 closed defect (duplicate)

Select tool extremely sluggish

Reported by: osm@… Owned by: team
Priority: major Milestone:
Component: Core Version: latest
Keywords: Cc: Gubaer

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 (0)

Change History (9)

comment:1 by fatbozz, 15 years ago

Try JOSM run in this mode.

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

comment:2 by anonymous, 15 years ago

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 by fatbozz, 15 years ago

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 by anonymous, 15 years ago

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

in reply to:  4 comment:5 by Gubaer, 15 years ago

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 by Gubaer, 15 years ago

Cc: Gubaer added

comment:7 by osm@…, 15 years ago

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 by anonymous, 15 years ago

Resolution: duplicate
Status: newclosed

Its problem of JAVA. You can see #2184

comment:9 by anonymous, 15 years ago

Closed as duplicate of #2184.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.