Andrea Aime ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae9469ffc-5e16-4c2b-b7b0-b9c46e912f9e ) *created* an issue
GeoServer ( https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiZTYyYTIyMGRmMDE3NDhiZmI0ZGU0NTBkYzc4NTVhYmQiLCJwIjoiaiJ9 ) / Bug ( https://osgeo-org.atlassian.net/browse/GEOS-9982?atlOrigin=eyJpIjoiZTYyYTIyMGRmMDE3NDhiZmI0ZGU0NTBkYzc4NTVhYmQiLCJwIjoiaiJ9 ) GEOS-9982 ( https://osgeo-org.atlassian.net/browse/GEOS-9982?atlOrigin=eyJpIjoiZTYyYTIyMGRmMDE3NDhiZmI0ZGU0NTBkYzc4NTVhYmQiLCJwIjoiaiJ9 ) DownloadAnimation process can lead to OOM ( https://osgeo-org.atlassian.net/browse/GEOS-9982?atlOrigin=eyJpIjoiZTYyYTIyMGRmMDE3NDhiZmI0ZGU0NTBkYzc4NTVhYmQiLCJwIjoiaiJ9 ) Issue Type: Bug Affects Versions: 2.19.0 Assignee: Andrea Aime ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae9469ffc-5e16-4c2b-b7b0-b9c46e912f9e ) Components: wps-download Created: 18/Mar/21 11:39 AM Fix Versions: 2.19.1 Priority: Medium Reporter: Andrea Aime ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae9469ffc-5e16-4c2b-b7b0-b9c46e912f9e ) The WPS download animation process uses two threads to build an animation. The main thread running the process is building frames, and submitting them to a single threaded executor service for encoding. This setup generates an implied boundless queue between the two threads, the one containing the futures submitted in the executor... which are holding onto the frames, BufferedImages. This can get out of control is the thread encoding the images to MP4 is slow, maybe due to a slow disk, and result in a OOM. ( https://osgeo-org.atlassian.net/browse/GEOS-9982#add-comment?atlOrigin=eyJpIjoiZTYyYTIyMGRmMDE3NDhiZmI0ZGU0NTBkYzc4NTVhYmQiLCJwIjoiaiJ9 ) Add Comment ( https://osgeo-org.atlassian.net/browse/GEOS-9982#add-comment?atlOrigin=eyJpIjoiZTYyYTIyMGRmMDE3NDhiZmI0ZGU0NTBkYzc4NTVhYmQiLCJwIjoiaiJ9 ) Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100155- sha1:59f8f57 )
_______________________________________________ Geoserver-devel mailing list Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel