cancel
Showing results for 
Search instead for 
Did you mean: 
mahmoudzahabi
Employee
Employee

Symptoms

Unable to import the tenant and it is throwing "java.lang.OutOfMemoryError: GC overhead limit exceeded" error in CMC:

Server has encountered an error.
Code: 0.0
Message
java.lang.OutOfMemoryError: GC overhead limit exceeded

Stacktrace
com.incorta.cmc.exceptions.InternalException: java.lang.OutOfMemoryError: GC overhead limit exceeded
at com.incorta.cmc.managers.TenantManager.importTenant(TenantManager.java:191)
at com.incorta.cmc.api.impl.ClustersApiServiceImpl.importTenant(ClustersApiServiceImpl.java:367)
at com.incorta.cmc.api.ClustersApi.importTenant(ClustersApi.java:476)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:76)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:148)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:191)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:200)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:103)

Solution

To increase the memory for example from 2 GB to 6 GB, this can be done in the below file

home/IncortaAnalytics_folder/cmc/options.properties
Best Practices Index
Best Practices

Just here to browse knowledge? This might help!

Contributors
Version history
Last update:
‎08-20-2024 02:33 PM
Updated by: