1 Reply Latest reply on Mar 5, 2004 10:31 AM by Scott Stark

    OutOfMemoryError while sitting doing nothing

    Richard Barrington Newbie


      I've got a fresh install of JBoss 3.2.3 with IBM JVM 1.4.1 on Mandrake Linux 9.2, and after running for around 13 hours, it fails with an out of memory error:

      15:59:49,184 INFO [Server] JBoss (MX MicroKernel) [3.2.3 (build: CVSTag=JBoss_3_2_3 date=200311301445)] Started in 1m:13s:965ms
      05:12:23,362 ERROR [STDERR] java.lang.OutOfMemoryError: heap allocation failed
      05:12:23,662 ERROR [STDERR] at java.net.PlainDatagramSocketImpl.receive(Native Method)
      05:12:23,663 ERROR [STDERR] at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java(Compiled Code))
      05:12:23,663 ERROR [STDERR] at java.net.DatagramSocket.receive(DatagramSocket.java(Compiled Code))
      05:12:23,663 ERROR [STDERR] at org.opennms.protocols.snmp.SnmpPortal$1.run(SnmpPortal.java(Compiled Code))
      05:12:23,663 ERROR [STDERR] at java.lang.Thread.run(Thread.java:568)

      I've not done anything much in the setup aside from adding Postgres driver, and a single CMP EJB. Is this possible to sort out? Anything I need to disable in the config to let it work correctly?