I am writing an application that keeps a database of Log entries as CMP beans. I have a finder method on the log entries to obtain all of the log entries matching a given type (int). I find that after I do a few queries, JBoss 2.4.1 dies with an OutOfMemoryError, the error is as follows:
Exception in thread "CompileThread0" java.lang.OutOfMemoryError: requested 134217740 bytes
I'm wondering if maybe I'm doing something wrong with my handling of the CMP beans. Should I be releasing them somehow so they can be garbage collected? In case you're wondering how many beans I have stored, I currently have only 15 beans in the database.
Let me know if I can send any more information to help. I'm using Blackdown 1.3.1FCS under Linux.
-Neal