$ curl -s -w ' [HTTP %{http_code}]\n' localhost:18081/memory
java.version=27
UseCompactObjectHeaders=true
collectors=[G1 Young Generation, G1 Concurrent GC, G1 Old Generation]
availableProcessors=2
maxHeapMB=1024
products=0
heapLiveAfterGcMB=12
heapCommittedMB=1024
rssMB=238
gcCountTotal=7
gcMillisTotal=121
[HTTP 200]

$ curl -s -w ' [HTTP %{http_code}]\n' localhost:18081/load?n=2000000
loaded=2000000
loadMillis=237
gcCountDuringLoad=0
gcMillisDuringLoad=0
[HTTP 200]

$ curl -s -w ' [HTTP %{http_code}]\n' localhost:18081/memory
java.version=27
UseCompactObjectHeaders=true
collectors=[G1 Young Generation, G1 Concurrent GC, G1 Old Generation]
availableProcessors=2
maxHeapMB=1024
products=2000000
heapLiveAfterGcMB=272
heapCommittedMB=1024
rssMB=417
gcCountTotal=9
gcMillisTotal=626
[HTTP 200]

$ curl -s -w ' [HTTP %{http_code}]\n' localhost:18081/products/42
{"id":42,"priceCents":142,"stock":42,"active":true,"sku":"SKU-100000042"} [HTTP 200]

$ curl -s -w ' [HTTP %{http_code}]\n' localhost:18081/products/2000000
{"timestamp":"2026-09-24T14:57:54.671Z","status":404,"error":"Not Found","path":"/products/2000000"} [HTTP 404]

