Replies: 2 comments 5 replies
-
Hi, The screenshot isn't a lot to go on. Can you tell me the command that you're using to run cargo-mutants, or do you have a log file from this run? Or if this is running under GitHub Actions, point me to the action run? You previously experimented with high It would also help to get
It's conceivable but it seems unlikely: the main cargo-mutants process keeps relatively little state about each mutant, and almost all the resource consumption should be in It would be highly useful to understand which processes are consuming the memory. For example you could periodically run and record to a (text) file the output of I think it's more likely that:
Not exactly, at the moment: I plan to add an option for just this in #204 soon. What I would suggest at the moment is: test one file or a few at a time using |
Beta Was this translation helpful? Give feedback.
-
this is an interesting observation - since every test boots up a mock server that syncs for a specified amount of time. it's plausible that some of those processes aren't being stopped correctly (or some issue is preventing them from being killed). the amount of memory we allocated for this test should have been enough to accomodate a situation like that though, hopefully there's something in teh debug.log that can shed more light on this. |
Beta Was this translation helpful? Give feedback.
-
Hello @sourcefrog ,
We've encountered a potential issue related to memory allocation when dealing with large packages, specifically observed with the stackslib package from the stacks repository. During a complete mutants run on stackslib, the process halted after processing
7355 out of 11k
.One hypothesis for this behavior is that the memory allocated for each mutant run is not being properly deallocated upon completion. This could result in an accumulated memory usage, leading to an excessive demand for RAM as the process progresses, particularly noticeable in larger packages like stackslib.
Can you please confirm if there's a memory deallocation issue with completed mutant runs? Any insights or suggestions on this matter would be highly appreciated.
We also want to run this for the remaining mutants, without re-running the mutants done already. Is there a straightforward method to run this?
Specs:
32vcpu, 64GB ram, 2TB nvme storage
This is the output:
Beta Was this translation helpful? Give feedback.
All reactions