wkcn edited a comment on issue #18501:
URL: 
https://github.com/apache/incubator-mxnet/issues/18501#issuecomment-643601122


   Hi @leezu , I found the cause.
   The cost of memory depends on the compiler and the building method (ninja or 
make)
   I build `indexing_op.o` by ninja with different version of gcc.
   
   Compiler | The cost of memory(Child high-water RSS)
   -------------|---------------------------
   g++ 6.4.1 | 1.95GB
   g++ 7.4.1 | 1.78 GB
   g++ 10.1.0 | 11 GB
   
   Besides, since the compiler flags is different in different building ways 
(for example `Makefile` enable `-funroll-loops`, it will takes more memory), 
the cost of memory is different.


----------------------------------------------------------------
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:
[email protected]


Reply via email to