Yes, I understand that "The OutOfMemory error is the root problem ".
What I'm not able to understand is
1) Why only EJB container is throwing OutofMemoryError ( OME )
2) Why the NullpointerException is coming, If JVM is ran out of memory then it will not have memory to create any object ( including NullPointerException object
I have singletons (Double-checked locking ) used by EJB's, How this could lead to OME?
2 Stateless Session beans
No entity beans ( thank god )
Thank you Kyle for your reply