Re-measure per-condition memory figures in the gRPC data plan with GC memory info (GetTotalMemory inflates) #929

Closed
opened 2026-11-24 22:12:04 -05:00 by dohertj2 · 1 comment
Owner

A3 round 2 found GC.GetTotalMemory on .NET 10 reports +92 vs +218 MiB for the same state (committed-not-released GC regions). The L2 harness now uses GC memory info after a full collection (worst case: 111,715 B managed / 158,629 B working set per imported condition; BytesPerCondition default 160,000). The plan's earlier figures (X0 160,997 B node-only, §5.5 ~157 KiB) used the same call and are probably inflated; re-measure and correct the plan/docs in A4 (L5 sizing).

A3 round 2 found GC.GetTotalMemory on .NET 10 reports +92 vs +218 MiB for the same state (committed-not-released GC regions). The L2 harness now uses GC memory info after a full collection (worst case: 111,715 B managed / 158,629 B working set per imported condition; BytesPerCondition default 160,000). The plan's earlier figures (X0 160,997 B node-only, §5.5 ~157 KiB) used the same call and are probably inflated; re-measure and correct the plan/docs in A4 (L5 sizing).
dohertj2 added the type:followuptype:testpriority:p2 labels 2026-11-24 22:12:04 -05:00
Author
Owner

Done on master 4ac83085: X0 harness re-measured with GC memory info after full GC — bare condition node tree 79,085 B heap / ~90 KB working set (GetTotalMemory still reports ~158 KB, reproducing the old inflated figure). Plan §5.5/§9 and evidence corrected; BytesPerCondition default (160,000, from L2's correct in-server worst case) unchanged.

Done on master 4ac83085: X0 harness re-measured with GC memory info after full GC — bare condition node tree 79,085 B heap / ~90 KB working set (GetTotalMemory still reports ~158 KB, reproducing the old inflated figure). Plan §5.5/§9 and evidence corrected; BytesPerCondition default (160,000, from L2's correct in-server worst case) unchanged.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/lmxopcua#929