On Fri, 16 May 2025 21:01:13 GMT, Phil Race <p...@openjdk.org> wrote:

>> But then you may get exactly the same bug we discussed recently about 
>> converting midi files into audio stream and loading all that into the memory.
>
>> But then you may get exactly the same bug we discussed recently about 
>> converting midi files into audio stream and loading all that into the memory.
> 
> I think that shows that you can't document what small is

it depends from the heap, but we may document it similar to what Clip(link 
above) currently say:
> * The {@code Clip} ........  can load all data prior to playback, instead of 
> being streamed in real time.

at least we should check that similar "big boom" will not happen.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24991#discussion_r2093714330

Reply via email to