Hello,
We are using Java 7 Standard environment.
With B8 instances and basic scaling.
<instance-class>B8</instance-class>
<basic-scaling>
<max-instances>8</max-instances>
<idle-timeout>15m</idle-timeout>
</basic-scaling>
These instances used only to handle deferred tasks execution. And after some period of running (from 4 to 12 hours), we are getting :
A problem was encountered with the process that handled this request, causing it to exit. This is likely to cause a new process to be used for the next request to your application. (Error code 204)
With the 500 response code. to _ah/queue/__deferred__ request.
We think that this is happening because of RAM issue. But as far as I know, there are no ways to profile memory on the App Engine Standard environment.
Locally we can't reproduce some memory leaks.
So my questions are following:
1) Is this issue caused by out of memory or something else?
2) Is there any way to profile memory usage with App Engine?
Regards