Server Management - Systems Insight Manager
1752809 Members
5885 Online
108789 Solutions
New Discussion юеВ

java.lang.OutOfMemoryError: Java heap space

 
Peter_497
Advisor

java.lang.OutOfMemoryError: Java heap space

SIM is not working at this moment. SIM shows the next Message:

java.lang.OutOfMemoryError: Java heap space

What can we do to resolve this problem and how can we do that?

Thanks for your help!
5 REPLIES 5
SEBEMISMNUSA
Frequent Advisor

Re: java.lang.OutOfMemoryError: Java heap space

I have been having this issue for a while.
Details are posted at
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1138956
End
SEBEMISMNUSA
Frequent Advisor

Re: java.lang.OutOfMemoryError: Java heap space

For the \Program Files\HP\Systems Insight Manager\config\globalsettings.prop file
this may be the answer
MX_JVM_OPTS=-XX:PermSize=128m -XX:MaxPermSize=128m -Xms1024m -Xmx1024m

For the mxdomainmgr task to *completely* start, the Xmx and Xms need to be greater than 800m (for 800 megabytes). I set this to 1024m (1024 megagbytes or 1 Gigabyte)

If Xmx and Xms is set too small, ex. 256m, the mxdomainmgr process will start, but not completely; the mxinventory process will *not* start. HP SIM does not work.

Permsize & MaxPermsize, google on these terms for many Sun Java related articles.

End
Peter_497
Advisor

Re: java.lang.OutOfMemoryError: Java heap space

Hi,

Problem is resolved. There was a server that was send over 1000 traps per minute to the SIM server. To resolve this problem I followed the next steps:

Check with SNMPCONFIG tool on SIM server witch server is sending so many traps.

Kill SNMP on server that is sending so many Events.

Re: java.lang.OutOfMemoryError: Java heap space

Hi,

which software is that (SNMPCONFIG tool)? How can I can find which server will "flood" me with snmp traps?

Thank you!
Dietmar
Peter_497
Advisor

Re: java.lang.OutOfMemoryError: Java heap space

Try Google to find SNMPUTIL.

When you have the utility copy it to the SIM server, for example temp folder. Open CMD and type: ├в snmputil trap > c:\temp\snmp.log├в . When you look after 1 minute into the snmp.log file you should see which server is the SNMP spammer!