msys2 / MSYS2-packages

Package scripts for MSYS2.
https://packages.msys2.org
BSD 3-Clause "New" or "Revised" License
1.29k stars 487 forks source link

[bug] msys2 pagetable memory leak on win11 #3878

Open polyproline opened 1 year ago

polyproline commented 1 year ago

Description / Steps to reproduce the issue

trans2pic.sh.txt Imagemagick is not msys package Use this script convert images.

Expected behavior

Finish those work, memory recycle and normalize.

Actual behavior

Memory use highly and pagetable use more than 14g on rammap

rammap

xperf -on ReferenceSet -BufferSize 1024 -MaxFile 512 -FileMode Circular && timeout 5 && xperf -d MemUsage.etl https://1drv.ms/u/s!Apyh2MbB1wU8ikbWjn1D9vx_2LNh?e=pj2rma

Verification

Windows Version

MINGW64_NT-10.0-22621

Are you willing to submit a PR?

No response

revelator commented 1 year ago

hmm might be related to the same memory leak we discovered with ntvdmx64. in the case of ntvdmx64 it basically ate all avaliable ram if you ran msys2 when ntvdmx64 was installed. the problem was tracked to be located in the cygwin heap functions.