leezu edited a comment on issue #18501: URL: https://github.com/apache/incubator-mxnet/issues/18501#issuecomment-642980960
I measure the overall memory consumption during compilation using linux control group feature. https://github.com/gsauthof/cgmemtime Results are v1.7.x Child user: 7658.352 s Child sys : 263.657 s Child wall: 199.661 s Child high-water RSS : 1952024 KiB Recursive and acc. high-water RSS+CACHE : 54680084 KiB v1.6.x Child user: 5758.186 s Child sys : 222.487 s Child wall: 131.241 s Child high-water RSS : 2040712 KiB Recursive and acc. high-water RSS+CACHE : 45344596 KiB v1.5.x Child user: 3800.705 s Child sys : 143.353 s Child wall: 112.121 s Child high-water RSS : 1604820 KiB Recursive and acc. high-water RSS+CACHE : 37374300 KiB `ccache` is always cleaned between compilations. Results obtained with: ``` CC=gcc-7 CXX=g++-7 cmake -GNinja -DUSE_CUDA=0 .. cgmemtime ninja ``` This is preliminary in that it measures parallel compilation, thus memory usage is very high. Overall there's a 44% increase from 1.5 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org