Skip to content

Conversation

mlichtblau
Copy link
Contributor

Closes gh-35614

Closes spring-projectsgh-35614

Signed-off-by: Marius Lichtblau <marius@lichtblau.io>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Oct 13, 2025
@rstoyanchev rstoyanchev self-assigned this Oct 13, 2025
@rstoyanchev rstoyanchev added in: web Issues in web modules (web, webmvc, webflux, websocket) type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Oct 13, 2025
@rstoyanchev rstoyanchev added this to the 6.2.12 milestone Oct 13, 2025
@rstoyanchev rstoyanchev changed the title Release data buffer even when String decoding fails Release data buffer in AbstractCharSequenceDecoder even when String creation fails Oct 13, 2025
Handle OutOfMemoryError raised by StringUTF16 when the length of the
string exceeds StringUTF16.MAX_LENGTH

Signed-off-by: Marius Lichtblau <marius@lichtblau.io>
@mlichtblau mlichtblau force-pushed the mlichtblau/gh-35614-web-client-throws-out-of-memory-error branch from 990cfd9 to e975375 Compare October 14, 2025 09:30
rstoyanchev pushed a commit that referenced this pull request Oct 14, 2025
if String creation fails

See gh-35625

Signed-off-by: Marius Lichtblau <marius@lichtblau.io>
Copy link
Contributor

Fixed via 05814f7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: web Issues in web modules (web, webmvc, webflux, websocket) type: bug A general bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Web Client throws OutOfMemoryError when response is larger than 1GB and contains UTF-16 characters

3 participants