timstuyckens / chromeextensions-knockoutjs

The source code for the chrome dev tools extension that allows you to easily debug knockout js apps.
MIT License
140 stars 50 forks source link

Excessive memory usage. #31

Open eriksimonic opened 8 years ago

eriksimonic commented 8 years ago

Hi.

I have noticed that when i do enable the knockout debugger, the memory consumption goes bananas.. An application that consumes max 60Mb of memory with the knockout debugger enabled it consumes from 200Mb and more..

Do you have any ideas. I can't share my code as it is a secure portal.

timstuyckens commented 8 years ago

You can try to disable serialization in the options https://github.com/timstuyckens/chromeextensions-knockoutjs/wiki/Editing-viewmodel-binding-values

eriksimonic commented 8 years ago

Hi there. I was a busy mouth. I tried to disable serialization but the problem persists.. currently I have remove the extension because it brings to may workflow more problems then anything else.

I do use ko.dataFor and ko.contextFor with conjunction with $0