-
Notifications
You must be signed in to change notification settings - Fork 121
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
请问加载forward模型占用的内存可以释放掉吗 #51
Comments
@youngliuxx 释放内存就是 delete Net 对象。安卓的话 JNI 接口我没有封装,iOS 就很简单了,能直接释放。 |
感谢回答,我在iOS端之前也调用了delete Net,只能释放一部份内存,大多数内存还是没有释放掉。 |
@youngliuxx 我来研究一下,以前没尝试这么做过。 |
我也有这样的问题,会持有模型的内存无法释放。 |
我也有同样的问题 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我们App加载forward了几个模型,占用内存达到了200M,但没找到用来释放这些内存的代码。
The text was updated successfully, but these errors were encountered: