Quote Originally Posted by wysota View Post
If "fixing" didn't help then obviously that what you tried to fix wasn't a bottleneck.
Exactly. There's no way to fix the bottleneck, because the bottleneck is the framework itself. There's no way to use the framework whilst maintaining low memory usage. The whole point of the framework is so that it's easy to work with and provides a simple interface to the developer. But all this comes at a price-- the overhead.