Eli Zaretskii writes: >> RES=3.4g VIRT=11.2g >> It does not really change when I run project-compile. >> It is also fairly normal for my Emacs sessions. > > You mean, Emacs has this approximate memory footprint as soon as you > start a fresh session? As soon as I open my Org files, the footprint is roughly half of that. Over time, it tends to increase to the above levels and stay there. > Can you start the cpu profiler just before you run project-compile, > and then show the profile (assuming the profiler doesn't cause crashes > on the branch in your build)? See the attached.