Blender Git Loki
Git Commits -> Revision ff9974e
Revision ff9974e by Sergey Sharybin (master) December 22, 2013, 09:26 (GMT) |
Fix T37898: blenderplayer painfully slow in recent builds Issue was caused by recent image cache rewrite and root of the issue goes to the fact that blender player doesn't initialize cache limiter and it uses 32meg of memory only. This leads to infinite image loading/freeing. For now disabled cache limiter in game engine, this brings back old behavior. In theory we might be smarter here, but better caching policy is to be discussed. |
Commit Details:
Full Hash: ff9974ed69bf2b71a569191cc06ae909217ffd2c
Parent Commit: 78698a2
Lines Changed: +26, -0
6 Modified Paths:
/intern/memutil/intern/MEM_CacheLimiterC-Api.cpp (+12, -0) (Diff)
/intern/memutil/MEM_CacheLimiter.h (+7, -0) (Diff)
/intern/memutil/MEM_CacheLimiterC-Api.h (+2, -0) (Diff)
/source/gameengine/GamePlayer/ghost/CMakeLists.txt (+1, -0) (Diff)
/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp (+3, -0) (Diff)
/source/gameengine/GamePlayer/ghost/SConscript (+1, -0) (Diff)
/intern/memutil/MEM_CacheLimiter.h (+7, -0) (Diff)
/intern/memutil/MEM_CacheLimiterC-Api.h (+2, -0) (Diff)
/source/gameengine/GamePlayer/ghost/CMakeLists.txt (+1, -0) (Diff)
/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp (+3, -0) (Diff)
/source/gameengine/GamePlayer/ghost/SConscript (+1, -0) (Diff)