Changeset 8864 in josm for trunk/src/org/openstreetmap/josm/gui/layer/Layer.java
- Timestamp:
- 2015-10-12T23:27:10+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/Layer.java
r8860 r8864 155 155 } 156 156 if (memoryBytesRequired > Runtime.getRuntime().maxMemory()) { 157 throw new IllegalArgumentException(tr("To add another layer you need to allocate at least {0,number,#}MB memory to JOSM using -Xmx{0,number,#}M " 157 throw new IllegalArgumentException( 158 tr("To add another layer you need to allocate at least {0,number,#}MB memory to JOSM using -Xmx{0,number,#}M " 158 159 + "option (see http://forum.openstreetmap.org/viewtopic.php?id=25677).\n" 159 + "Currently you have {1,number,#}MB memory allocated for JOSM", memoryBytesRequired / 1024 / 1024, Runtime.getRuntime().maxMemory() / 1024 / 1024)); 160 + "Currently you have {1,number,#}MB memory allocated for JOSM", 161 memoryBytesRequired / 1024 / 1024, Runtime.getRuntime().maxMemory() / 1024 / 1024)); 160 162 } 161 163 }
Note:
See TracChangeset
for help on using the changeset viewer.