I'm seeing this in `pants.log` on every run of a f...
# general
d
I'm seeing this in
pants.log
on every run of a few different custom plugin commands:
Copy code
The scheduler was invalidated: Exception('pantsd process 76194 was using 6318.44 MiB of memory (above the `--pantsd-max-memory-usage` limit of 6144.00 MiB).')
(This is after I increased the value from the default of 4GiB -> 5GiB -> 6GiB) The interesting piece is that I'm watching memory usage of pantsd and I don't see it going above ~1.5GB at any point in the run. I dropped this into
pants.toml
to gather some insights:
Copy code
[stats]
memory_summary = true
However, the sum of the "total size in bytes" column is relatively small (about 44MB in my case). Any ideas on what's going on here?
Oh, the number I was looking at in Activity Monitor on my Mac was showing me the "Private Memory", but
psutil
is returning the "Real Memory" value and appears to be accurate