I'm testing that now Alex, Cheers

On Saturday, August 5, 2017 at 6:46:39 PM UTC+3, Alex Martelli wrote:
>
> To check if the memory consumption is due to jinja2 caching, make the 
> jinja2 Environment object that you will later use for rendering with 
> cache_size=0 -- this disables jinja2's caching, essentially. If that 
> removes the issue, you've found your root cause. (If not, you need to keep 
> digging). See http://jinja.pocoo.org/docs/2.9/api/#jinja2.Environment for 
> more details.
>
> Alex
>
> On Fri, Aug 4, 2017 at 11:58 PM, Richard Cheesmar <cheza...@gmail.com 
> <javascript:>> wrote:
>
>> Hi, Atilla,
>>
>> I'm using Python and I do use Jinja2 templates. The inconsistency is what 
>> baffles me. I seems to be random, no set requests suffers more than 
>> another. I get this on new user requests, on requests from old users whom 
>> may have cache.
>>
>> It's hard to pin this down to anything in particular. I think boosting 
>> the instance will solve it, but I don't yet need this for most of the time, 
>> my traffic isn't that heavy and the payloads to and from server client are 
>> fairly light weight at the moment.
>>
>> Richard
>>
>> On Thursday, August 3, 2017 at 9:07:49 AM UTC+3, Attila-Mihaly Balazs 
>> wrote:
>>>
>>> Hello Richard,
>>>
>>> What programming language/framework are you using? Please note that even 
>>> though you might not "be doing anything" explicitly, the framework might 
>>> have some caching logic (for example Jinja2 template cache) in the 
>>> background that can lead to memory leaks. As they say: "an unbounded cache 
>>> is just an other name for a memory leak" :-).
>>>
>>> Attila
>>>
>> -- 
>> 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 google-appengi...@googlegroups.com <javascript:>.
>> To post to this group, send email to google-a...@googlegroups.com 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/google-appengine.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/0e266a95-7f1b-47fa-9b89-30d01c795db9%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/google-appengine/0e266a95-7f1b-47fa-9b89-30d01c795db9%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/55522f92-46cb-42dc-901c-c6fa53fd4a35%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to