
Fri, 02/10/2023 - 07:48
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!
Fri, 02/10/2023 - 08:20
Forget about this legacy memory manager - it was designed for single-threaded 32-bit applications and not much of use in modern environments.
Thu, 03/27/2025 - 15:13
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.
Thu, 03/27/2025 - 15:36
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, Dmitrii.