I have tried to create a small utility which reads excel. I am using ApachePOI 3.9 library for that. When I executed the code from red hat Jboss, it work fine
but when i deployed the .war in server Jboss 7.1.1 Final and executed I got this error
ERROR [stderr] (thread-64) Exception in thread "Thread-64" Exception in thread "server-timer1" java.lang.OutOfMemoryError: Java heap space