Forget about this legacy memory manager - it was designed for single-threaded 32-bit applications and not much of use in modern environments.
Archived discussion
How to set an optimized memory manager in the VS
Hi.
How can I set an optimized memory manager in the Visual Studio environment?
What I tried is adding "MMGT_OPT=1" in the preprocessor definition.
But it does not make any difference in terms of performance when importing a super big STEP file (over 1GB).
Should I add something inside the codes?
Thanks!
Discussion
3 archived replies
Posts are displayed in their archived order.
Have you solved the problem yet?
I'm facing the same issue as you.
How to set MMGT_OPT=1? Maybe in some head file or VS setting?
I am working on OCCT version 7.8.
Thanks.
Hello, MMGT_OPT no more possible to set up. The new memory manager available as a CMake option.
Please add during CMake configuration -DUSE_MMGR_TYPE=JEMALLOC or =TBB. For that you need to have Jemalloc or TBB 3rd-party.
Best regards, Commenter-3.