RFR: 8350813: Rendering of bulky sound bank from MIDI sequence can cause OutOfMemoryError [v4]

Sergey Bylokhov serb at openjdk.org
Fri Mar 14 00:15:53 UTC 2025


On Sun, 9 Mar 2025 02:53:47 GMT, Alexander Zuev <kizune at openjdk.org> wrote:

> No because rendering of the soundbank would take time - probably seconds - and that will throw reproduction of the second MIDI file off the track. I just remind that the MIDI we are rendering can come from any source - including the connected hardware like MIDI keyboard - and adding random delays before playing a note - even if it's one quarter or one eighth of a second will definitely be audible.

But it's our own soundbank, so it doesn't seem like it would cause any delay when playing MIDI files using it.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/23814#discussion_r1994459804


More information about the client-libs-dev mailing list