Skip to content

Commit 9c30d28

Browse files
committed
Restore the standard OpenSearch heap for million-record sessions
The full three-node Linux load exhausted the configured 512 MiB JVM heap near 900k documents, returning 429 circuit_breaking_exception after GC failed to reduce heap usage. Use the pinned server default of 1 GiB per node within the same recorded host envelope. Validation: full Debug solution build -warnaserror with 0 warnings/errors; full format verification and governance passed; real one/three-node million-record controls passed; JVM API confirmed 1 GiB on all three nodes and actual containers/volumes were removed. Keep batch 500, sixteen clients, durability, oracles and operation/workload deadlines. Full Linux qualification remains required.
1 parent a557c65 commit 9c30d28

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

‎build/KeyLoad.LoadTests.AppHost/Configuration/BenchmarkDeploymentOptions.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ internal sealed record BenchmarkDeploymentOptions
88
private const int DefaultNeo4jInitialHeap = 256;
99
private const int DefaultNeo4jMaximumHeap = 512;
1010
private const int DefaultNeo4jPageCache = 256;
11-
private const int DefaultOpenSearchHeap = 512;
11+
private const int DefaultOpenSearchHeap = 1024;
1212
private const int DefaultPostgresSlotRetention = 512;
1313
private const int DefaultDocumentPostgresConnections = 512;
1414
private const int MinimumDocumentPostgresConnections = 512;

‎docs/Features/BenchmarkComparisons/SessionExecution.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,12 @@ files, KeyLoad included. The manual Release workflow alone publishes the KeyLoad
182182
server image with SDK `PublishContainer`.
183183

184184
The Redis topology probe removes its transient key before document readback.
185+
OpenSearch uses a 1 GiB JVM heap per node, matching the pinned server's default.
186+
This setting applies to both topologies within the recorded host
187+
resource envelope; the 500-document request bound, sixteen clients, persisted-copy
188+
acknowledgements and full workload remain unchanged. OpenSearch documents its
189+
[default heap and memory sizing](https://docs.opensearch.org/latest/install-and-configure/install-opensearch/index/).
190+
185191
The HelixDB document target owns its HTTP clients within one dedicated Aspire
186192
session. That session owns the private server and its anonymous writable volume.
187193
After the complete workload and final-state oracle, the target closes its clients;

0 commit comments

Comments
 (0)