You may see a java.lang.OutOfMemoryError: Java heap space message in your logs when Prometheus scrapes Flexera metrics. This happens when the application runs out of Java heap space, which causes the pod to crash temporarily. When this occurs, the target on the Prometheus dashboard may also appear as down. Increasing the heap size typically resolves this issue.
-
Review the error in the logs
Check the pod logs for the message java.lang.OutOfMemoryError: Java heap space. This confirms that the pod crashed because it exceeded the available Java heap memory. -
Increase the Java heap size
Use the JAVA_OPTS environment variable to increase the minimum and maximum heap space available to the application.
You can set JAVA_OPTS through podEnvVariables in the Helm chart:JAVA_OPTS="-Xms256m -Xmx1g" -
Adjust values based on workload needs
Set heap values that match your application’s memory requirements. Pods with higher workloads may need larger -Xmx values to run reliably.
Related Articles
Pods fail to schedule because of Kubernetes autoscaler deadlock errors 4Number of Views Resolve Failed to create pod sandbox errors in EKS when assigning IP addresses 3Number of Views Could not reserve enough space for object heap 14Number of Views Increase the Java Heap Size Memory Allocation for InstallAnywhere IDE and Installer 18Number of Views Uploading inventory may fail with error in log after gathering Oracle Database or FMW inventory: "Failed to load library /… 1Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago