-
Notifications
You must be signed in to change notification settings - Fork 690
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
cppJieba内部是否有内存释放逻辑? #175
Comments
我自己试了一下运行前内存占用7.3g,运行时最大占用7.8g然后我写了一个system("pause");执行到这条语句后仍未回到7.3g关闭程序回到7.3g |
我用 darts 优化了一下 CppJieba 的内存占用,可以减少到原来的 1/100 : |
您的代码我试了一下,无法make [ 6%] Building CXX object deps/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o |
用 test/make_demo.sh 来 make,deps/limonp/Md5.hpp 我拆到 deps/limonp/Md5.cpp 里面了。 |
我集成后内存占用从原来的106M降到40M,为什么不是降到1%的1M呢? |
可以用 jemalloc 的 heap profiler 查一下内存都是哪些数据结构在占用 |
那请问您得出的结论1%是怎么得出来的啊? |
No description provided.
The text was updated successfully, but these errors were encountered: