Highlighted
Absent Member.. Absent Member..
Absent Member..
580 views

javalang out of memory error :metaspace

working on ucmdb 10.22 on windows
error a at probe end- javalang out of memory error :metaspace
Ucmdb & prone is installed on single server with RAM 16Gb . Facing below issue


at com.hp.ucmdb.discovery.probe.agents.probemgr.taskexecuter.JobExecuter$JobExecuterWorker.run(JobExecuter.java:729) Caused by: java.lang.reflect.InvocationTargetException 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:497) at com.hp.ucmdb.discovery.library.execution.impl.ScriptsLoader.compileCode(ScriptsLoader.java:269) ... 13 more Caused by: java.lang.OutOfMemoryError: Metaspace java.lang.OutOfMemoryError: java.lang.OutOfMemoryError: Metaspace at org.python.core.Py.JavaError(Py.java:546) at org.python.core.ParserFacade.fixParseError(ParserFacade.java:107) at org.python.core.CompilerFacade.compile(CompilerFacade.java:35) at org.python.core.Py.compile_flags(Py.java:1942) at org.python.core.Py.compile_flags(Py.java:1947) at org.python.core.Py.compile_flags(Py.java:1957) at org.python.core.Py.compile(Py.java:1922) ... 18 more Caused by: java.lang.OutOfMemoryError: Metaspace
How to resolve this issue??

 Regards,

Nick

0 Likes
3 Replies
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: javalang out of memory error :metaspace

Nick;

On the probe, in the:  <DFP_Install_Dir>\bin\ directory, what is the line with the following string in it for the WrapperManager.conf and WrapperGateway.conf files:

MaxMetaspaceSize

This is the value you would need to increase (providing you have enough memory to do so)...

Hope this helps,
Keith Paschal
UCMDB Worldwide Support Lead
Micro Focus Support
If you find this or any post resolves your issue, please be sure to mark it as an accepted solution."

Click the KUDOS star on the left to say 'Thanks'
0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: javalang out of memory error :metaspace

Hi,

I have increased it to 512 from 192. How much memory size  I can allocate for metaspace as RAM is 16Gb and its a VM machine.

Regards,

Nick

 

 

 

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: javalang out of memory error :metaspace

That is a pretty large value, but I'd watch the probe going forward.  Also, UCMDB Server and Probe should not be on the same box unless it is a lab environment. 

 

Hope this helps,
Keith Paschal
UCMDB Worldwide Support Lead
Micro Focus Support
If you find this or any post resolves your issue, please be sure to mark it as an accepted solution."

Click the KUDOS star on the left to say 'Thanks'
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.