-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory leak in 0.7.1 #430
Comments
Yep, that looks like a memory leak... |
Should I downgrade? |
Yikes.. |
Looks like this issue was opened after #421 had already been merged in. @jccazeaux Can you please verify that this is in fact an issue on master? I was already aware of the memory leak in the current release (0.7.1), which has been addressed in #421. |
Closing this. I've released 0.7.2 which includes #421. |
I was unavailable until today. I verified the 0.7.2 and it doesn't seem to solve the problem. Here is the jsfiddle with 0.7.2 : http://jsfiddle.net/4tprm3ny/2/ |
This issue should be reopened |
@jccazeaux, @docluv Thanks for reproducing the leak on 0.7.2. Reopening this, will take a look next chance I get. |
Thanks @mikeric |
👍 |
Thanks |
Still occurs at 0.8.0 |
Good catch @AMTourky |
Thanks @JakeHP |
Found the solution in sightglass : mikeric/sightglass#10 |
Good job @jccazeaux! |
👍 |
Nice catch @jccazeaux, |
Hi
I've done the upgrade from 0.6.9 to 0.7.1. Since i noticed some memory leak. The objects seem to be retained after unbind.
I made a jsfiddle with a very basic bind/unbind. In the model i put a very big String (~5MB) so we can clearly see the allocations and deallocations.
example with 0.6.9 : http://jsfiddle.net/jccazeaux/v6x47k6k/
In the chrome profiler we can see that the objects are correctly freed:
![image](https://cloud.githubusercontent.com/assets/5689583/5314063/1d535cca-7c6f-11e4-8044-e94da8438b66.png)
Same code with 0.7.1 : http://jsfiddle.net/jccazeaux/v6x47k6k/2/
In the chrome profile we see that the objects are retained. The memory is growing.
![071](https://cloud.githubusercontent.com/assets/5689583/5314075/3f5dadf2-7c6f-11e4-8969-3193f7119296.png)
To test it, just start the "Record heap allocation" profiling type and click alternatively on "bind" and "unbind".
The text was updated successfully, but these errors were encountered: