1 / 5
Fill in: 'We ___ heap snapshots over time to spot objects that never get collected.'
-
-
-
-
We 'compare heap snapshots' — the standard collocation for diffing memory state. The other options are less idiomatic here.
2 / 5
Fill in: 'A forgotten event listener can ___ memory that the garbage collector can't reclaim.'
-
-
-
-
We say a reference will 'retain' memory — the standard collocation for preventing collection. The other options aren't idiomatic here.
3 / 5
Fill in: 'We ___ the process under sustained load to reproduce the leak reliably.'
-
-
-
-
We 'profile' a process — the standard collocation for instrumenting it to observe resource use. The other options are less idiomatic here.
4 / 5
Fill in: 'We ___ the leak to a specific module using allocation tracking.'
-
-
-
-
We 'trace' a leak — the standard collocation for following it back to its source. The other options are less idiomatic here.
5 / 5
Fill in: 'We ___ the fix in staging under load before shipping it to production.'
-
-
-
-
We 'verify' a fix — the standard collocation for confirming it resolves the issue. The other options are less idiomatic here.