You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2021/05/19 11:19:57 UTC

[GitHub] [servicecomb-java-chassis] jr981008 opened a new issue #2388: How limit sendqueue size?

jr981008 opened a new issue #2388:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2388


   how limit sendqueue size
   org.apache.servicecomb.common.rest.filter.inner.ServerRestArgsFilter#beforeSendResponseAsync 
   ![image](https://user-images.githubusercontent.com/20749545/118804236-023d8e00-b8d7-11eb-978b-0878165a5539.png)
   
   in my case,per request have more than 100M data to send,always OOM, 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #2388: How limit sendqueue size?

Posted by GitBox <gi...@apache.org>.
liubao68 commented on issue #2388:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2388#issuecomment-846940278


   If you are using REST, response is encoded to JSON, this will take a lot of memory. As per suggested by wujimin, using file download if possible. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] wujimin commented on issue #2388: How limit sendqueue size?

Posted by GitBox <gi...@apache.org>.
wujimin commented on issue #2388:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2388#issuecomment-844592261


   100MB?  
   better to use download feature


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org