From: David Wells Date: Mon, 19 Feb 2018 00:00:54 +0000 (-0500) Subject: Fix the memory usage of the /source/fe unity files. X-Git-Tag: v9.0.0-rc1~407^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F5925%2Fhead;p=dealii.git Fix the memory usage of the /source/fe unity files. Recent changes, such as b15febd0c2, 36b74d6ee1, and fd1bf6a6f8 caused the memory usage of one of the unity files to go above 5 GB: these splits lower the high water mark to about 3 GB. --- diff --git a/source/fe/CMakeLists.txt b/source/fe/CMakeLists.txt index b77b0257e4..f8fd611253 100644 --- a/source/fe/CMakeLists.txt +++ b/source/fe/CMakeLists.txt @@ -52,11 +52,8 @@ SET(_unity_include_src mapping_c1.cc mapping_cartesian.cc mapping.cc - mapping_q_generic.cc mapping_q1.cc - mapping_q1_eulerian.cc mapping_q.cc - mapping_q_eulerian.cc mapping_manifold.cc ) @@ -71,10 +68,13 @@ SET(_separate_src mapping_fe_field_inst2.cc fe_tools_interpolate.cc fe_tools_extrapolate.cc + mapping_q_generic.cc + mapping_q1_eulerian.cc + mapping_q_eulerian.cc ) # determined by profiling -SET(_n_includes_per_unity_file 15) +SET(_n_includes_per_unity_file 10) SETUP_SOURCE_LIST("${_unity_include_src}" "${_separate_src}"