Practice memory profiling vocabulary: heap snapshots, memory leaks, GC pressure, event listener leaks, retained objects, and heap dump analysis.
0 / 10 completed
1 / 10
'The ___ snapshot shows retained objects.' Which noun describes a capture of the memory heap?
A 'heap snapshot' captures the state of the memory heap at a point in time. By comparing snapshots before and after an operation, you can identify objects that are growing or not being garbage collected.
2 / 10
'The memory leak is in the event ___.' Which noun completes this common leak source?
'Event listener leaks' are the most common memory leak in Node.js and browser JavaScript. Registering listeners without removing them causes references to accumulate and prevents garbage collection.
3 / 10
'GC ___ is high — 30% of CPU is GC.' Which noun describes the load on the garbage collector?
'GC pressure' describes how frequently and for how long the garbage collector must run. High GC pressure (30% CPU on GC) means the application is allocating objects faster than GC can reclaim memory.
4 / 10
'We found a 200MB ___ after 24 hours.' Which noun describes memory that grows but never releases?
A 'memory leak' is memory that is allocated but never released because references to it persist. A 200MB leak after 24 hours suggests a gradual accumulation that would eventually crash the process.
5 / 10
What is a 'heap dump' used for?
A heap dump is a binary snapshot of the entire heap. Tools like Eclipse MAT (Java) or Chrome DevTools (Node.js) analyze heap dumps to find the largest retained objects and the 'dominator tree' of memory usage.
6 / 10
Sarah from the performance team just commented on your PR: 'The heap snapshot shows retained objects. This suggests a potential memory leak where objects are being created but not properly released.' What does Sarah likely mean by 'retained objects'?
Sarah is referring to objects still in memory after their intended use. 'Retained' means these objects haven't been garbage collected and are therefore contributing to the overall memory footprint. This is a key indicator of potential memory leaks – if objects aren't released, they will continue to consume resources.
7 / 10
You're investigating a spike in CPU usage during peak hours. Your monitoring tool reports: 'GC pause duration is high — 30% of CPU is GC.' What does this metric primarily indicate?
A high 'pause duration' for the garbage collector signifies that it's spending a disproportionate amount of time paused while trying to find and reclaim memory. This usually points to an inefficient collection process – perhaps due to excessive object creation or poorly designed data structures – leading to performance bottlenecks.
8 / 10
During a standup meeting, you mention that your team is using profiling tools to identify memory issues. Your manager asks: 'We found a 200MB fragment after 24 hours.' What does 'fragment' refer to in this context?
'Fragment' describes memory that's been broken up into smaller, non-contiguous chunks. This means the available space isn't large enough to accommodate a single block of memory, making it difficult for the garbage collector to reclaim efficiently and contributing to overall memory waste.
9 / 10
You're reviewing a pull request that implements a new feature. The reviewer writes: 'The application is experiencing increasing memory usage over time. We need to take a heap dump to analyze object retention and identify potential leaks.' What's the primary purpose of taking a heap dump?
A heap dump provides a frozen snapshot of the application's memory at a specific moment. This allows developers to examine which objects are still in memory and identify potential sources of leaks – where objects aren't being correctly released after use. Analyzing this data is crucial for debugging memory-related issues.
10 / 10
You're investigating a performance issue in a distributed microservices architecture. A monitoring dashboard shows: 'High object count in service A's memory footprint.' What is the likely cause?
A high object count indicates a potential issue with how objects are created and managed within Service A. This could be due to inefficient coding practices (e.g., not releasing resources), improper handling of data structures, or simply an accumulation of unused objects across multiple instances of the service – all contributing to memory pressure.
What will I practise in "Memory Profiling Vocabulary"?
This module focuses on Performance Profiling — real workplace phrasing you'll use on the job. It contains 10 scenario-based multiple-choice questions with instant feedback.
Is this exercise free to use?
Yes. Every exercise on CoderSlingo, including this one, is free to use with no account or sign-up required.
How many questions does this exercise have?
This module includes 10 questions. Each one gives an immediate right/wrong result plus a full explanation of the correct phrasing.
What happens if I answer a question incorrectly?
You'll see the correct answer highlighted straight away, along with a plain-English explanation of why it's right and why the other options don't fit — mistakes are part of the learning here.
Can I retry the exercise if I want a better score?
Yes — use the 'Try again' button on the results screen to reset your score and go through the questions again. There's no limit on attempts.
Who is this Performance Profiling exercise for?
It's aimed at IT professionals with working English who want to sound more natural and precise around performance profiling — useful whether you're preparing for real conversations at work or just building confidence with the vocabulary.
Do I need an account to track my progress?
No account is needed. Your progress through the exercise is tracked locally in your browser for the current session, and you can replay the module at any time.
How is this different from reading a blog article?
This exercise is an interactive drill that tests and reinforces specific phrasing through multiple-choice questions with instant feedback, while blog articles explain concepts and vocabulary in prose. The two work well together.
Where can I find more Performance Profiling exercises?
See the Performance Profiling hub for more modules like this one, or browse the full Exercises page for other IT-English topics.
Can I complete this exercise on my phone?
Yes — every exercise on CoderSlingo is fully responsive and works on phones and tablets, so you can practise anywhere.