Getting OutOfMemory Errors Causing The Instance To Crash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2023 03:03 AM
Hello,
Recently, our self-hosted instance (Tokyo Patch 4) is failing to operate due to a java.lang.OutOfMemory errors.
After some research we've found out that Servicenow instance uses java 32bit which limits the maximum heap size of the jvm to 2GB, so that means we can't increase it even if the VM hosting it has much memory memory available.
Does anybody know of a solution to an OutOfMemory error?
- Labels:
-
Crash
-
Heap Memory
-
OutOfMemory
-
Self Hosted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I had java.lang.OutOfMemory errors also but it was on self-hosted Yokohama and it was the SMTP sender job.
I created a ticket with ServiceNow and they suggested editing the JVM configs. That didn't fix the issue.
I ended up running the Instance Troubleshooter on EMAIL and then stumbled on a few articles.
In affect what fixed it for me was deleted the SMTP send jobs and recreated them from scratch.
But for your case I would up your JDK and maybe upgrade a version.
