DataBufferLimitException: Exceeded limit on max bytes to buffer webflux error

前端 未结 5 817
悲哀的现实
悲哀的现实 2021-01-01 15:29

While sending a file I receive an array of bytes. I always have a problem with webflux to receive an array. the error thrown as below :

org.springframework.co         


        
5条回答
  •  礼貌的吻别
    2021-01-01 15:49

    I suppose this issue is about adding a new spring.codec.max-in-memory-size configuration property in Spring Boot. Add it to the properties like:

    spring:
      codec:
        max-in-memory-size: 10MB
    

提交回复
热议问题