Hi all. First time Pants user here, I’m using Pant...
# general
b
Hi all. First time Pants user here, I’m using Pants to manage a project with mixed Go & Python projects. Upon running the
pants
commands, I noticed that the pantsd process is using up 20+GB of my memory. Is that something normal? Or I have missed some essential configurations?
b
Sorry for the trouble. Can you provide a bit more information about your repo? • contents of
pants.toml
if you can share it, or at least pants version • output of
pants count-loc ::
(to get a sense of scale)
b
I added
pantsd_max_memory_usage
after noticing this in the log
Copy code
The scheduler was invalidated: Exception('pantsd process 3172 was using 4198.50 MiB of memory (above the `--pantsd-max-memory-usage` limit of 4096.00 MiB).')
pants count-loc ::
And I guess because of some missing configuration, on each
pants
command, I’m seeing
Download Go module
as though no is no cache from previous command
b
Thanks for the info. Do you have examples of goals you are running? I know others have encountered high memory use with Go too. There's a ticket https://github.com/pantsbuild/pants/issues/20274
b
Just a simple
pants list ::
will trigger the high memory usage already. So there is no specific goals per se.
👍 1
Thanks for the ticket. Seems like the redownloading issue is also something that has been reported.