开发者

GAE Soft Memory Limit

开发者 https://www.devze.com 2023-02-03 04:04 出处:网络
is there a way to catch the soft memory limit warning in google ? I am not referring to the Memory Exceeded Error of 300 MB but the warning message which appears when you cross 180 MB memory limit.

is there a way to catch the soft memory limit warning in google ? I am not referring to the Memory Exceeded Error of 300 MB but the warning message which appears when you cross 180 MB memory limit.

01-06 07:11PM 08.597
Exceeded soft memory limit with 247.434 MB after servicing 1 requests total

I want to catch this 开发者_C百科warning when it shows up in my code and start deleting some memory


No exception is thrown in your code when this happens - it's logged by the runtime after your request finishes executing, so there's no way to 'catch' it.

0

精彩评论

暂无评论...
验证码 换一张
取 消