In my application i have two classes which implement EntityBean class.
Container Managed Persistence is achieved through this implementation in the extending classes.
When i have seen snapshot of the Heap Dump this morning i.e after a period of 12 hours of non-usage or applicaiton idle state the object instance still persist and memory is allocated to them instead of getting Garbage collected.
Is this behavior expected of these objects if so how to overcome over-usage of memory by these objects ? .... in order to avoid performance issues or possible memory leaks.