Welcome and thanks for sharing your questions here with the community.
Generally, when getting *4xx* and *5xx* responses from your App Engine
application, I would suggest looking for related request logs in Stackdriver
Logging <https://cloud.google.com/logging/docs/quickstart-sdk#explore> which
you seem to have done. The log you've pasted in your initial message
suggests the application is consuming more memory than releasing.
- What runtime are you using?
- You mention that the application is processing Google Drive files.
How large are these files?
- Can you point to the APIs and client libraries the application uses to
handle the files? I ask as it's possible the files are too large to be
processed entirely at once.
- Do you still get this same error if using instances with greater
- Are you using the standard environment or flexible environment?
On Thursday, October 13, 2016 at 12:05:56 AM UTC-4, Kelly Ingram wrote:
> I have a cron job setup to run every 20 minutes which has been running as
> expected until 2 days ago where I am now getting intermittent failures and
> GAE is returning a status of 500 with the WARNING message:
> While handling this request, the process that handled this request was
> found to be using too much memory and was terminated. This is likely to
> cause a new process to be used for the next request to your application. If
> you see this message frequently, you may have a memory leak in your
> and sometimes includes the INFO message:
> This request caused a new process to be started for your application, and
> thus caused your application code to be loaded for the first time. This
> request may thus take longer and use more CPU than a typical request for
> your application.
> It will run ok once or twice and then randomly it won't run and returns
> the above messages.
> Nothing is changing in the code or the files it's processing on Google
> Drive so I am confused as to what could be the issue.
> I've also occasionally received a status of 404 over the past few days.
> Again with no obvious reason why.
> Anyone else receiving these errors?
> This communication together with any attachments transmitted with it
> ("this email") is intended only for the use of the addressee and may
> contain information which is privileged and confidential. If the reader of
> this email is not the intended recipient or the employee or agent
> responsible for delivering it to the intended recipient you are hereby
> notified that any use, dissemination, forwarding, printing or copying of
> this email is strictly prohibited. If you have received this email in
> error please notify us immediately by email at ad...@cloudle.com.au
> <ad...@hokisolutions.com> Please then immediately delete, erase or
> otherwise destroy this email and any copies of it. Addressees should check
> this email for viruses. Cloudle Pty Ltd makes no representations as regards
> to the absence of viruses in this email.
> Any opinions expressed in this email are those of the author and do not
> necessarily constitute the views of Cloudle Pty Ltd. Nothing in this email
> shall bind the Company in any contract or obligation.
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.