What can I do when I get java.lang.OutOfMemoryError because producers are faster than consumers?

Submitted by: Administrator
Quotas can be used to help this situation. Your sender will then receive ResourceAllocationExceptions and the server will stay up. WLS 6.X does not support paging of messages out of memory.
As of WLS 6.1 SP02 or later, you can use the Message Paging feature, which can free up valuable virtual memory during peak message load periods by swapping out messages from virtual memory to persistent storage when message loads reach a specified threshold.
Submitted by: Administrator

Read Online BEA Weblogic Job Interview Questions And Answers