Modify ↓
Opened 4 years ago
Last modified 4 years ago
#20808 new defect
PicLayer: memory issue with a transparent image
Reported by: | richlv | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | tested |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Open the attached PNG in some image editing/viewing software that allows to copy it. Copy it to clipboard.
- Download a small piece of data around https://www.openstreetmap.org/#map=19/58.38255/26.72458&layers=N .
- Imagery -> PicLayer from clipboard.
- Hide data layer, Pan around a bit, zoom in to some image area.
What is the expected result?
Handles the image.
What happens instead?
Error "JOSM is out of memory. Strange things may happen".
Please provide any additional information below. Attach a screenshot if possible.
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2021-04-01 23:17:01 +0200 (Thu, 01 Apr 2021) Build-Date:2021-04-01 21:46:03 Revision:17702 Relative:URL: ^/trunk Identification: JOSM/1.5 (17702 en_GB) Mac OS X 10.15.7 OS Build number: Mac OS X 10.15.7 (19H524) Memory Usage: 1934 MB / 1934 MB (1669 MB allocated, but free) Java version: 1.8.0_281-b09, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Look and Feel: com.apple.laf.AquaLookAndFeel Screen: Display 1127230987 1920×1080 (scaling 1.00×1.00) Display 69733382 1680×1050 (scaling 1.00×1.00) Maximum Screen Size: 1920×1080 Best cursor sizes: 16×16→16×16, 32×32→32×32 System property file.encoding: UTF-8 System property sun.jnu.encoding: UTF-8 VM arguments: [-Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlp.tk=awt, -Djnlpx.jvm=<java.home>/bin/java, -Djnlpx.splashport=-1, -Djnlpx.home=<java.home>/bin, -Djnlpx.remove=false, -Djnlpx.offline=false, -Djnlpx.relaunch=true, -Djnlpx.session.data=/var/folders/nl/flqxqsmj5q963r7tcnfrdt3c0000gn/T/session1370607577612292195, -Djnlpx.heapsize=-1,2147483648, -Djava.security.policy=file:<java.home>/lib/security/javaws.policy, -DtrustProxy=true, -Djnlpx.origFilenameArg=/Users/richlv/Library/Application Support/Oracle/Java/Deployment/cache/6.0/56/1ee8cfb8-72e8e992, -Dsun.awt.warmup=true, -Djava.security.manager] Dataset consistency test: No problems found Plugins: + InfoMode (35543) + Mapillary (1.5.37.6) + PicLayer (2a9aa7a) + apache-commons (35524) + apache-http (35589) + ejml (35458) + geotools (35458) + imagery_offset_db (35640) + javafx-osx (35655) + jaxb (35543) + jna (35662) + jts (35458) + measurement (35640) + opendata (35640) + pbf (35720) + photo_geotagging (35715) + reverter (35688) + utilsplugin2 (35691) Map paint styles: + /Users/richlv/Desktop/ChangeFontSize.mapcss - https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1 Last errors/warnings: - 00369.488 E: Handled by bug report queue: java.lang.OutOfMemoryError: Java heap space - 00369.907 E: Handled by bug report queue: java.lang.OutOfMemoryError: Java heap space - 00370.444 E: Handled by bug report queue: java.lang.OutOfMemoryError: Java heap space - 00370.854 E: Handled by bug report queue: java.lang.OutOfMemoryError: Java heap space - 00371.137 E: Handled by bug report queue: java.lang.OutOfMemoryError: Java heap space - 00371.577 E: Handled by bug report queue: java.lang.OutOfMemoryError: Java heap space - 00371.901 E: Handled by bug report queue: java.lang.OutOfMemoryError: Java heap space - 00372.308 E: Handled by bug report queue: java.lang.OutOfMemoryError: Java heap space - 00372.603 E: Handled by bug report queue: java.lang.OutOfMemoryError: Java heap space - 00372.604 W: Too many errors. Dropping ReportedException [thread=Thread[AWT-EventQueue-2,6,javawsApplicationThreadGroup], exception=java.lang.OutOfMemoryError: Java heap space, methodWarningFrom=BugReportExceptionHandler#handleException]
Attachments (1)
Change History (2)
by , 4 years ago
Attachment: | dorpat-transparent.png added |
---|
comment:1 by , 4 years ago
Component: | Plugin piclayer → Core |
---|---|
Owner: | changed from | to
Note:
See TracTickets
for help on using tickets.
Testcase image