kubernetes pod memory - java gc logs
问题 On the kubernetes dashboard, there's a pod wherein the Memory Usage (bytes) is displayed as 904.38Mi . This pod holds the java app that was ran with -Xms512m -Xmx1024m , and on kubernetes deployment file -> requests.memory = 512M , limits.memory = 1.5G . I've enabled gc logs and seeing these on the pod logs: [2020-04-29T15:41:32.051+0000] GC(1533) Phase 1: Mark live objects [2020-04-29T15:41:32.133+0000] GC(1533) Phase 1: Mark live objects 81.782ms [2020-04-29T15:41:32.133+0000] GC(1533)