Our JBoss server has heap size defined to -Xms768M -Xmx768M.
Occassionally, say every once a month we have a "java.lang.OutOfMemoryError: Java heap space".
Right now looks like 981MB are available total to java and only 311MB are currently used leaving 670MB free.
Suggestions?