From 23327ef031467905af4b89ae61eb39c66e93a376 Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Tue, 2 Oct 2018 08:26:20 +0200
Subject: [PATCH] Update build.pandoc

---
 web/content/docs/devguide/troubleshooting/build.pandoc | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/web/content/docs/devguide/troubleshooting/build.pandoc b/web/content/docs/devguide/troubleshooting/build.pandoc
index 47b6d2534aa..a04e6d5d641 100644
--- a/web/content/docs/devguide/troubleshooting/build.pandoc
+++ b/web/content/docs/devguide/troubleshooting/build.pandoc
@@ -12,7 +12,13 @@ weight = 1043
 
 ## Visual Studio out-of-heap or stackoverflow errors
 
-The compilation especially of the processes in Release-config can be very memory hungry. You should have at least 8 GB of RAM and even this can be not enough when compiling on multiple cores (which is the default). To build on only one core run the following in your build-directory:
+The compilation especially of the processes in Release-config can be very memory hungry. Using dynamic Eigen shape matrices can reduce memory usage:
+
+```
+cmake . -DOGS_EIGEN_DYNAMIC_SHAPE_MATRICES=ON
+```
+
+You should also have at least 8 GB of RAM and even this can be not enough when compiling on multiple cores (which is the default). To build on only one core run the following in your build-directory:
 
 ```
 cmake --build . --config Release -- /m:1 /p:CL_MPCount=1
-- 
GitLab