1 Reply Latest reply on May 23, 2012 11:20 AM by peterj

    JBoss 4.2.2 crashes abruptly with "terminate called after throwing an instance of 'std::bad_alloc'"

    marcusdidiusfalco

      Hallo,

      we are testing our application with some long running tests.

      After a few hours the server crashes without logging any exceptions. The last entry in the log is

      terminate called after throwing an instance of 'std::bad_alloc'

        what(): std::bad_alloc

      We are profiling the application with YourKit. I cannot see any problems. Heap is definetly no problem. Non-Heap memory increases periodicly to the allocated 136 MB but most is released after that. Number of Threads remain approximately constant.

       

      What could be the cause of this?

       

      Thanks,

       

      Hans