I'm running an M2 Max macbook pro with 32 GB of ram. The following happened 
Activity
tomtangtrp commentedon May 31, 2025
I am having the same issue. The syntax highlight xpc render process takes over 100GB ram on my MBP16 M3 Max. OS is 15.4.1.
ko6an commentedon Oct 9, 2025
Same on MPB16 M2 Pro in macOS 26
sbarex commentedon Oct 9, 2025
This happens when you try to preview the file
~/Movies/iMovieLibrary.imovielibrary?This is a special folder and it shouldn't be handled by my program...
lijunle commentedon Nov 4, 2025
I was opening a sparse bundle folder a finder, which is huge (~1T). Then same issue happens here, I have to kill the app.
lijunle commentedon Nov 5, 2025
I have a consistent repro steps:
bandsfolder which contains a lot of band file. Each file is ~5GB.Workaround:
Force quick the highlight module in activity monitor.
sbarex commentedon Nov 5, 2025
In the main app, try to put a limit for the file size (for example 1 mb). A value of 0 means no limit.
lijunle commentedon Nov 7, 2025
Thanks! Set a limit mitigates the issue!
We should set a number as default value if that is causing serious memory issue.