What is your application doing? Where are you seeing the OOM error and what is happening at that point? Are you seeing any other exceptions?
Not much to go on here.
Before increasing the -Xms and -Xmx we got these sort of errors,
- javax.resource.spi.work.WorkRejectedException: org.jboss.util.threadpool.ThreadPoolFullException: java.lang.OutOfMemoryError: unable to create new native thread
- [ServerInvoker] Error executing server oneway invocation request: InvocationRequest[57322f, CALLBACK, InternalInvocation[9fceb6]]
- java.lang.OutOfMemoryError: requested 163840 bytes for GrET in C:\BUILD_AREA\jdk6_12\hotspot\src\share\vm\utilities\growableArray.cpp. Out of swap space?
But after increasing the heap space, we hadn't got these errors, but my heap space and live threads are increasing slowly and the decreasing ratio is very low, even my application is in idle state.
My question is, wheather jboss esb wont close the opened threads? Likewise i need to know wheather there is any other configuration in jboss esb server?
Kevin Conner noted to me that this might be
The fix for this issue has not made into a release yet, but you can build from source or patch your 4.10 with the fix.