[cmake-developers] [CMake 0015854]: Extreme memory usage by CMake 3.4
Mantis Bug Tracker
mantis at public.kitware.com
Thu Nov 19 14:16:04 EST 2015
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
======================================================================
More information about the cmake-developers
mailing list