Do you have a heap dump? Have you reviewed to identify the cause of thememory consumption?
Is it the case that you fetch a very large resultset in a non-transactional(autocommit=true) manner?
Vladimir