-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Description
hi,
postet this already in the meteor-core group, but after testing more i guess this belongs here.
I figured, that when switching templates really often it stacks up memory. Which shouldn't be the case, because for large apps this can be fast at 100MB+ after a while.
Test case:
install the todos example of meteor $ meteor create --example todos
open the chrome dev tools and take a memory snapshot under "profiles".
then switch the todos lists like 20 times and takt one again and you will see an increase in the memory.
If you want to have a more obvious example got to the telescope demo app at http://demo.telesc.pe and do the same setps but switch the list with a lot of comments back and forth.
you will build up 50MB+ mb really fast, starting at 10MB!
This is obvious bad memeory management of the template engine and can lead to crashing apps in production environment with apps which are used for hours.
Thanks for looking into it.
Fabian