MSYS2-packages icon indicating copy to clipboard operation
MSYS2-packages copied to clipboard

[bug] msys2 pagetable memory leak on win11

Open polyproline opened this issue 2 years ago • 1 comments

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

  • [X] I have verified that my MSYS2 is up-to-date before submitting the report (see https://www.msys2.org/docs/updating/)

Windows Version

MINGW64_NT-10.0-22621

Are you willing to submit a PR?

No response

polyproline avatar Jul 08 '23 09:07 polyproline

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.

revelator avatar Jul 13 '23 13:07 revelator