[Geoserver-devel] [JIRA] (GEOS-9982) DownloadAnimation process can lead to OOM

Andrea Aime created an issue

GeoServer / BugGEOS-9982

DownloadAnimation process can lead to OOM

Issue Type:

BugBug

Affects Versions:

2.19.0

Assignee:

Andrea Aime

Components:

wps-download

Created:

18/Mar/21 11:39 AM

Fix Versions:

2.19.1

Priority:

MediumMedium

Reporter:

Andrea Aime

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.

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100155-sha1:59f8f57)

Atlassian logo