Software Testing / Learning brief
Tom watches the bath for three hours
In simple terms / 01
What this means in plain language
The Daily List reminder service slows down every night. A bath with a slow leak shows why a long test is needed, and how the low points after clean-up tell Tom that memory is being lost.
Complete lesson / 02
Understand the full idea, step by step
Watch a bath for one minute and the water looks the same. Come back after three hours and it is half empty. The leak was there all along. This slow example needs a long observation; a larger leak may become visible quickly.
The Daily List reminder service gets slower every night. A short test shows nothing. Tom decides to watch the bath.
Evidence & review / 03
Evidence & review
The date on this lesson is when it went up on Payments Signal, not when its material was written — most of these were brought across from an earlier catalogue in a single run, which is why so many of them share a date. What the lesson says about the world is dated by the review above and by the sources below it.
Memory leaks and soak analysis as taught in this academy, with an invented app. The readings in the example come from a small Python program that was run for real.
What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. Sources were seen only as search excerpts. The bath is a teaching picture, and the toy program shows the idea, not the size of real leaks.
Sources for this brief — 4 sources
- Market practiceJava SE 17
HotSpot Virtual Machine Garbage Collection Tuning Guide ↗ — Oracle · How the Java garbage collector frees memory and how the heap is organised into generations (search excerpt, page not opened)
Opened Oracle Java 17 Garbage Collector Ergonomics on 6 November 2026. Include pauses in latency attribution without double-counting a pause already inside a measured compute interval.
- Market practice
tracemalloc: Trace memory allocations (Python 3.12 documentation) ↗ — Python Software Foundation · Take two snapshots of memory use and compare them to see where memory grows (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Memory leak diagnosis with garbage collection logs and heap dump comparison (Huawei Kunpeng documentation) ↗ — Huawei · A leak signature: old-generation memory stays high after full collections; compare two heap dumps to see which classes keep growing (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.