1 Reply Latest reply on Feb 13, 2004 9:53 AM by Scott Stark

    Snmp and OutOfMemoryError



      I am runing jboss-3.2.3 in redhat 9.0 in the office. JVM is IBM J2RE1.4.1.
      In the evening, the server is just rinning and there is a RMI client is connected to the server. But i don't think the client try to invoke the application methods.

      But the memory usage keep growing once i left the office Until the following error is displayed:

      It seems that the error is related to JMX Snmp adapter. But i never use it. Where is this service? Can i just remove this service and how to?


      00:32:26,816 ERROR [STDERR] java.lang.OutOfMemoryError: heap allocation failed
      00:32:27,308 ERROR [STDERR] at java.net.PlainDatagramSocketImpl.receive(Native Method)
      00:32:27,308 ERROR [STDERR] at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java(Compiled Code))
      00:32:27,308 ERROR [STDERR] at java.net.DatagramSocket.receive(DatagramSocket.java(Compiled Code))
      00:32:27,309 ERROR [STDERR] at org.opennms.protocols.snmp.SnmpPortal$1.run(SnmpPortal.java(Compiled Code))
      00:32:27,309 ERROR [STDERR] at java.lang.Thread.run(Thread.java:568)
      00:33:11,468 ERROR [STDERR] java.lang.OutOfMemoryError: heap allocation failed
      00:33:11,469 ERROR [STDERR] at java.net.PlainDatagramSocketImpl.receive(Native Method)
      00:33:11,469 ERROR [STDERR] at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java(Compiled Code))
      00:33:11,469 ERROR [STDERR] at java.net.DatagramSocket.receive(DatagramSocket.java(Compiled Code))
      00:33:11,469 ERROR [STDERR] at org.opennms.protocols.snmp.SnmpPortal$1.run(SnmpPortal.java(Compiled Code))
      00:33:11,469 ERROR [STDERR] at java.lang.Thread.run(Thread.java:568)