diff --git a/examples/annotated-skaffold.yaml b/examples/annotated-skaffold.yaml
index 84c1d31c566..80e49dd5c2e 100644
--- a/examples/annotated-skaffold.yaml
+++ b/examples/annotated-skaffold.yaml
@@ -63,7 +63,7 @@ build:
# jibMaven builds containers using the Jib plugin for Maven.
# jibMaven:
- # module: modulename # selects which maven module to build
+ # module: modulename # selects which maven module to build, for a multimodule project
# profile: profilename # selects which maven profile to activate
# jibGradle builds containers using the Jib plugin for Gradle.
diff --git a/examples/jib/pom.xml b/examples/jib/pom.xml
index b71c73e5954..aeff282fc51 100644
--- a/examples/jib/pom.xml
+++ b/examples/jib/pom.xml
@@ -39,6 +39,8 @@
-Djava.security.egd=file:/dev/./urandom
+ -XX:+UnlockExperimentalVMOptions
+ -XX:+UseCGroupMemoryLimitForHeap
diff --git a/integration/examples/annotated-skaffold.yaml b/integration/examples/annotated-skaffold.yaml
index 84c1d31c566..80e49dd5c2e 100644
--- a/integration/examples/annotated-skaffold.yaml
+++ b/integration/examples/annotated-skaffold.yaml
@@ -63,7 +63,7 @@ build:
# jibMaven builds containers using the Jib plugin for Maven.
# jibMaven:
- # module: modulename # selects which maven module to build
+ # module: modulename # selects which maven module to build, for a multimodule project
# profile: profilename # selects which maven profile to activate
# jibGradle builds containers using the Jib plugin for Gradle.
diff --git a/integration/examples/jib/pom.xml b/integration/examples/jib/pom.xml
index b71c73e5954..aeff282fc51 100644
--- a/integration/examples/jib/pom.xml
+++ b/integration/examples/jib/pom.xml
@@ -39,6 +39,8 @@
-Djava.security.egd=file:/dev/./urandom
+ -XX:+UnlockExperimentalVMOptions
+ -XX:+UseCGroupMemoryLimitForHeap