public static boolean enableOOMExit() {
        return AgentConfiguration.getAgentConf().getBoolean(AgentConstants.AGENT_ENABLE_OOM_EXIT,
                AgentConstants.DEFAULT_ENABLE_OOM_EXIT);
    }
Whether the config of exiting the program when OOM is enabled
inlong-agent/agent-common/src/main/java/org/apache/inlong/agent/utils/AgentUtils.java