From c9138166fa27c95d192a8a4244d83bc89de2af4e Mon Sep 17 00:00:00 2001 From: rdb Date: Fri, 10 Feb 2012 15:26:53 +0000 Subject: [PATCH] unset PRC_SAVE_DESCRIPTIONS in optimized builds to reduce memory usage --- makepanda/makepanda.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index 681d4fcb77..38a8a98ce2 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -1833,12 +1833,12 @@ def WriteConfigSettings(): if (GetOptimize() <= 3): dtool_config["DO_MEMORY_USAGE"] = '1' - #if (GetOptimize() <= 1): - # dtool_config["DO_PIPELINING"] = '1' - if (GetOptimize() <= 3): dtool_config["NOTIFY_DEBUG"] = '1' + if (GetOptimize() >= 4): + dtool_config["PRC_SAVE_DESCRIPTIONS"] = 'UNDEF' + # Now that we have OS_SIMPLE_THREADS, we can support # SIMPLE_THREADS on exotic architectures like win64, so we no # longer need to disable it for this platform.