From a8f32af29b1be82c4642601b46b37793e10832e4 Mon Sep 17 00:00:00 2001 From: JM <13242860+jmdelafe@users.noreply.github.com> Date: Wed, 2 Apr 2025 10:01:44 -0400 Subject: [PATCH 1/2] BUG/MINOR: use `int64` format for memory information It defaults to `int32` when no specified and that is not enough for modern machines with way more than 2 GBs --- specification/models/general.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specification/models/general.yaml b/specification/models/general.yaml index e0676e3a..acd10a52 100644 --- a/specification/models/general.yaml +++ b/specification/models/general.yaml @@ -50,10 +50,13 @@ info: properties: total_memory: type: integer + format: int64 free_memory: type: integer + format: int64 dataplaneapi_memory: type: integer + format: int64 time: type: integer description: Current time in milliseconds since Epoch. From 882f1bcbc20fc826290a0da9dede5e241042a17d Mon Sep 17 00:00:00 2001 From: JM <13242860+jmdelafe@users.noreply.github.com> Date: Wed, 2 Apr 2025 10:04:00 -0400 Subject: [PATCH 2/2] BUG/MINOR: update memory information format to `int64` in haproxy_spec.yaml --- specification/build/haproxy_spec.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specification/build/haproxy_spec.yaml b/specification/build/haproxy_spec.yaml index 9fc3af3d..17013eee 100644 --- a/specification/build/haproxy_spec.yaml +++ b/specification/build/haproxy_spec.yaml @@ -8955,10 +8955,13 @@ definitions: mem_info: properties: dataplaneapi_memory: + format: int64 type: integer free_memory: + format: int64 type: integer total_memory: + format: int64 type: integer type: object os_string: