leezu edited a comment on issue #18501: URL: https://github.com/apache/incubator-mxnet/issues/18501#issuecomment-642980960
Based on my preliminary test, the memory issue is present in 1.7.x @ciyongch 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: 9731.020 s Child sys : 280.320 s Child wall: 286.761 s Child high-water RSS : 11339504 KiB Recursive and acc. high-water RSS+CACHE : 55863512 KiB v1.6.x Child user: 7424.805 s Child sys : 228.109 s Child wall: 179.466 s Child high-water RSS : 5551964 KiB Recursive and acc. high-water RSS+CACHE : 46771964 KiB v1.5.x Child user: 3442.141 s Child sys : 104.186 s Child wall: 144.414 s Child high-water RSS : 5448040 KiB Recursive and acc. high-water RSS+CACHE : 37266004 KiB `ccache` is always cleaned between compilations. Results obtained with: ``` CC=gcc-10 CXX=g++-10 cmake -GNinja -DUSE_CUDA=0 .. cgmemtime ninja ``` ---------------------------------------------------------------- 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