That's the problem, nothing I log gets recorded. It's like when the
instance is killed, everything is deleted, including any events that were
logged before that point.




On Mon, Dec 5, 2011 at 7:38 PM, Brandon Wirtz <[email protected]> wrote:

> Add your own events to put in the log, and they will be…****
>
> ** **
>
> Instance started,****
>
> Defined some variables****
>
> Started a loop****
>
> Looped****
>
> Looped again count 1****
>
> Looped again count 2-infinity****
>
> Finished looping****
>
> ** **
>
> Wrote something to datastore****
>
> Output the HTML Life is happy****
>
> ** **
>
> That Kind of stuff.****
>
> Along the way you will likely find you have  a loop until the end of time
> statement somewhere****
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Waleed Abdulla
> *Sent:* Monday, December 05, 2011 7:17 PM
> *To:* google-appengine
> *Subject:* [google-appengine] How to catch Out of Memory errors?****
>
> ** **
>
> I'm getting a lot of "Out of Memory" errors, and when that happens GAE
> just kills the instance right away and all I see in the logs is something
> like this:****
>
> ** **
>
> Exceeded soft private memory limit with 277.09 MB after servicing 1
> requests total****
>
> ** **
>
> ** **
>
>     To find where the problem is, I put logging.info() statements in the
> code, but the problem is that nothing is logged when the instance is killed
> this way. I also tried using logservice.flush(), but that doesn't seem to
> help. I cannot get any data out of that instance to help me debug the
> problem. ****
>
> ** **
>
>     Any tips?****
>
> ** **
>
> Waleed****
>
> ** **
>
> ** **
>
> ** **
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.****
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to