• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Does CMP cause Object to be persistent irrespective of GC ?

 
Ranch Hand
Posts: 42
Hibernate Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

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.
 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please refer http://www.oracle.com/technetwork/articles/entarch/tuning-cmp-ejbs-088031.html it might help a bit.
 
reply
    Bookmark Topic Watch Topic
  • New Topic