- Timestamp:
- 2008-08-01T12:57:30+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/BugReportExceptionHandler.java
r655 r742 44 44 if (e instanceof OutOfMemoryError) { 45 45 // do not translate the string, as translation may raise an exception 46 JOptionPane.showMessageDialog(Main.parent, "You are out of memory. Strange things may happen.\nPlease restart JOSM and load smaller data sets."); 46 JOptionPane.showMessageDialog(Main.parent, "JOSM is out of memory. " + 47 "Strange things may happen.\nPlease restart JOSM with the -Xmx###M option,\n" + 48 "where ### is the the number of MB assigned to JOSM (e.g. 256).\n" + 49 "Currently, " + Runtime.getRuntime().maxMemory()/1024/1024 + " MB are available to JOSM."); 47 50 return; 48 51 }
Note:
See TracChangeset
for help on using the changeset viewer.