Skip to content
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 Legend and ArrayBufferProtocol #2606

Closed
osianSmith opened this issue Jul 13, 2017 · 2 comments
Closed

Memory Leak in Legend and ArrayBufferProtocol #2606

osianSmith opened this issue Jul 13, 2017 · 2 comments

Comments

@osianSmith
Copy link
Contributor

Hello
I am having a few memory leaks in my application. They are in:

cialized specialized _ArrayBufferProtocol._arrayOutOfPlaceUpdate<A where ...> (inout_ContiguousArrayBuffer<A.Element>, Int, Int, A1) -> ()

specialized Array._copyToNewBuffer(oldCount : Int) -> ()

specialized Legend.calculateDimensions(labelFont : UIFont, viewPortHandler : ViewPortHandler) -> ()

specialized Legend.calculateDimensions(labelFont : UIFont, viewPortHandler : ViewPortHandler) -> ()

This was found in the inspector. I don't think it was causing an issue, but it was something I found. I am currently using LineGraphs

Here is a shot from instruments:

screen shot 2017-07-13 at 5 36 41 pm

Thanks

Osian

@liuxuan30
Copy link
Member

you can pop pack or make the holder of your chart to deinit, and see shall the chart deinit itself as well.

@osianSmith
Copy link
Contributor Author

Hey, I don't know why but Xcode has seemed to stop detecting these Data leaks after a reinstall of Xcode on my laptop.
I will keep an eye on it and reopen this if it becomes an issue again, but I'll close it in the meantime 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants