Open billychasen opened 9 years ago
I'm also having this problem!
I am having this issue as well
After building from source the issue went away. I guess the compiled framework file is a bit out of date.
For anyone else having this issue: check the source folder, open up jpcnn.xcodeproj, build, and then in DerivedData there will be a DeepBelief.framework folder
(One year on from joeldrotleff )...i'm just dropping this note in case anyone is stuck: the memory leak is stil there.
Building source does fix it, but I was unable to build with the latest XCode (7.2) / baseSDK ios9.2 (well, perhaps if i had made additional tweaks - I didn't need to go that far).
XCode 6.4/ios8.4 buildsjpcnn.xcodeproj
with no issues. You need to do this if you are planning to use the iOS framework, as that memory bug is too huge to ignore.
I took SimpleExample and right after create_network, slept for 5 seconds and then called destroy_network. Here's the result http://i.imgur.com/GhCDGt6.png
It holds onto about 65mb of memory. Any way around this? Thanks