Spring DataBufferLimitException: Exceeded limit on max bytes to buffer : 262144
通过配置参数加大缓冲区
默认的缓冲区为256K,可以通过配置spring.codec.max-in-memory-size
加大缓冲区:
spring: codec: max-in-memory-size: 2MB
Spring Boot 2.2.1.RELEASE 可用
参考:https://blog.csdn.net/nklinsirui/article/details/106949002