msyql 5.7.21 [ 35%] Building CXX object sql/CMakeFiles/sql.dir/item_row.cc.o

大飛_dafei發表於2018-03-28

虛擬機器記憶體 1G,在安裝 MySQL 5.7.21 執行 make的時候出現如下,在35%到36%的時候就走不動,

[ 35%] Building CXX object sql/CMakeFiles/sql.dir/item_row.cc.o
[ 35%] Building CXX object sql/CMakeFiles/sql.dir/item_strfunc.cc.o
[ 35%] Building CXX object sql/CMakeFiles/sql.dir/item_subselect.cc.o
[ 35%] Building CXX object sql/CMakeFiles/sql.dir/item_sum.cc.o
[ 35%] Building CXX object sql/CMakeFiles/sql.dir/item_timefunc.cc.o
[ 35%] Building CXX object sql/CMakeFiles/sql.dir/item_xmlfunc.cc.o
[ 35%] Building CXX object sql/CMakeFiles/sql.dir/item_inetfunc.cc.o
[ 35%] Building CXX object sql/CMakeFiles/sql.dir/json_dom.cc.o
[ 35%] Building CXX object sql/CMakeFiles/sql.dir/json_binary.cc.o
[ 35%] Building CXX object sql/CMakeFiles/sql.dir/json_path.cc.o
[ 35%] Building CXX object sql/CMakeFiles/sql.dir/key.cc .o
[ 35%] Building CXX object sql/CMakeFiles/sql.dir/keycaches.cc.o
[ 35%] Building CXX object sql/CMakeFiles/sql.dir/lock.cc.o
[ 35%] Building CXX object sql/CMakeFiles/sql.dir/locking_service.cc.o
[ 35%] Building CXX object sql/CMakeFiles/sql.dir/log.cc.o



解決辦法:增加虛擬機器記憶體到4G,調整後的效果如圖:



相關文章