Modify

Opened 4 years ago

Closed 4 years ago

#2308 closed defect (fixed)

JOSM freezes after a few edits

Reported by: anonymous Owned by: team
Priority: major Component: Core
Version: tested Keywords: Linux, frozen
Cc:

Description

After a few edits JOSM freezes. The system is still useable, but java used 100% CPU (diplayed by top).

my system:
Fedora 8
Java 1.7.0
JOSM 1.479 tested
-Validator plugin

Attachments (0)

Change History (5)

comment:1 follow-up: Changed 4 years ago by jttt

This may happen if JOSM doesn't have enough memory. Does it still freeze if you run JOSM with following command?
java -Xmx1024M -jar josm-latest.jar

comment:2 in reply to: ↑ 1 Changed 4 years ago by anonymous

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

Replying to jttt:

This may happen if JOSM doesn't have enough memory. Does it still freeze if you run JOSM with following command?
java -Xmx1024M -jar josm-latest.jar

bingo, solved.

comment:3 Changed 4 years ago by anonymous

  • Resolution fixed deleted
  • Status changed from closed to reopened

Unfortunately I must reopen this issue. To increase the amount of memory like -Xmx1024M or -Xmx1536M only works in areas with less nodes. Furthermore the bug affect only under Linux, on Windows it runs fine with -Xmx512.
I have this problem since the code increase from 3.5M to close/higher 4M.

comment:4 follow-up: Changed 4 years ago by jttt

I see you're using java 1.7. Does JOSM still freeze if you use sun-jre 1.6?

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

  • Resolution set to fixed
  • Status changed from reopened to closed

Replying to jttt:

I see you're using java 1.7. Does JOSM still freeze if you use sun-jre 1.6?

I did some test and it runs quite well. I guess we can close this issue now.

Add 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.