The following issue has been SUBMITTED. ====================================================================== https://cmake.org/Bug/view.php?id=15854 ====================================================================== Reported By: Brad King Assigned To: Stephen Kelly ====================================================================== Project: CMake Issue ID: 15854 Category: CMake Reproducibility: always Severity: major Priority: high Status: assigned ====================================================================== Date Submitted: 2015-11-19 14:16 EST Last Modified: 2015-11-19 14:16 EST ====================================================================== Summary: Extreme memory usage by CMake 3.4 Description: Since commit
cmDefinitions: Implement in terms of cmLinkedTree. https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=25e04ddf CMake uses a huge amount of memory to perform a task previously accomplished in a moderate amount of memory. Steps to Reproduce: $ cat example.cmake function(concat v l r) set(${v} "${l};${r}" PARENT_SCOPE) endfunction() set(o "") foreach(n RANGE 1 32768) concat(o "${o}" "a") endforeach() $ cmake -P example.cmake ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-11-19 14:16 Brad King New Issue 2015-11-19 14:16 Brad King Status new => assigned 2015-11-19 14:16 Brad King Assigned To => Stephen Kelly ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers