SPC-OCC-10267: An unexpected error occurred: java.lang.OutOfMemoryError: Java heap space
search cancel

SPC-OCC-10267: An unexpected error occurred: java.lang.OutOfMemoryError: Java heap space

book

Article ID: 249304

calendar_today

Updated On:

Products

DX NetOps

Issue/Introduction

While trying to load a mib from the mib tools we got a memory error and the OneClick console unexpectedly closes.

Environment

Release : 21.2

Component : Spectrum OneClick

Cause

The Maximum Client Memory Usage assigned by default (1024 MB) is not enough and it needs to be increased.

Resolution

As per the error message, there was an out of memory error:

https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=XVmHlgeGVEETzk5q+FQcsw==

This is confirmed from next

https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=YoWiS+mQ7bdLcklqD4s1oA==

You can resolve this increasing the Maximum Client Memory Usage (megabytes) for OneClick Client Configuration.

You can start changing its value from 1024 (default) to 2048, if the client machines that run the Java Console have room for that.

https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=ymhg3kE1bE/oEnWVV0aYyQ==

Be aware that after making these changes, you need to download the JNLP again (Browse to the OneClick web page, and click "Start Console". Then double-click the new JNLP to launch the console), otherwise the changes won't apply as they are included in the JNLP.

If your OneClick servers are behind a Load Balancer, ensure you made the change on each OneClick server.

Additional Information

Spectrum OneClick "SPC-OCC-10267 An unexpected error occurred"
https://knowledge.broadcom.com/external/article?articleId=74787

"SPC-OCC-10267: An unexpected error occurred: java.land.NullPointerException" when logging into OneClick
https://knowledge.broadcom.com/external/article?articleId=195085

Unable to login Spectrum OneClick Client application - An unexpected error occurred: java.lang.NullPointerException
https://knowledge.broadcom.com/external/article?articleId=187206

Spectrum OneClick shows NoClassDefFoundError for WebswingUil
https://knowledge.broadcom.com/external/article?articleId=145413