Zikai Feng

Results 6 comments of Zikai Feng

> dev 分支做过一些改动,你可以更新到 dev 版本再试试 > > [xmake-io/xmake#2509](https://github.com/xmake-io/xmake/issues/2509) 执行`xmake update -s dev`,更新lua脚本还存在问题,在xmake,github realease页面下载`xmake-dev.win64.exe`好像也不太行,还存在以上问题。

> 另外,确认下你这里的编译平台,windows/msvc 还是 mingw/gcc 是`mingw/gcc`,使用msys2 安装的`mingw-w64-x86_64-toolchain` ![image](https://user-images.githubusercontent.com/65545903/177003475-53115016-a99a-47e7-aef6-7fc3ac3c7e74.png)

> -vD 编译看下,贴下 link flags ``` ❯ xmake build -v -D [ 25%]: ccache compiling.debug src\main.cpp C:\Users\FengisZZZ\ServerTools\msys\mingw64\bin\x86_64-w64-mingw32-g++ -c -m64 -g -O0 -Iincludes -o c:\Users\FengisZZZ\Desktop\Project\Xmake_dev\test\build\.objs\test\mingw\x86_64\debug\src\main.cpp.obj src\main.cpp [ 50%]: linking.debug test.exe C:\Users\FengisZZZ\ServerTools\msys\mingw64\bin\x86_64-w64-mingw32-g++...

``` ❯ xmake build -vD [ 25%]: ccache compiling.debug src\main.cpp C:\Users\FengisZZZ\ServerTools\msys\mingw64\bin\x86_64-w64-mingw32-g++ -c -m64 -g -O0 -Iincludes -o c:\Users\FengisZZZ\Desktop\Project\Xmake_dev\test\build\.objs\test\mingw\x86_64\debug\src\main.cpp.obj src\main.cpp [ 50%]: linking.debug test.exe C:\Users\FengisZZZ\ServerTools\msys\mingw64\bin\x86_64-w64-mingw32-g++ -o c:\Users\FengisZZZ\Desktop\Project\Xmake_dev\test\build\mingw\x86_64\debug\test.exe c:\Users\FengisZZZ\Desktop\Project\Xmake_dev\test\build\.objs\test\mingw\x86_64\debug\src\main.cpp.obj -m64 -g -O0...

好的,我看看去

您好,是用什么方法查看对象的内存占用和生成hprof文件的? 使用jmap报` "Unable to open socket file: target process not responding or HotSpot VM not loaded The -F option can be used when the target process is not responding" `,加上-F...