Hi JKid, A memory profiler is the program that keeps monitoring your heap. Heap is the place where your objects live . There can be danger lurking in the heap as some villan objects never tend to get garbage collected.In case of server application the danger is greater as accumulation of these objects which have references all the time never get Gced and they grow in numbers and finally this leds to "No more space in heap for storing other objects" situation.
Now comes the role of the hero named "Memory profiler / analyzer". Java has a memory profiler present in the jdk/bin directory named jvisualvm which helps you monitor the number of objects in the heap and also let you know which object is refering to who which can finally help you identify the villan objects who dont get garbage collected and why there are still references to those objects .... Memory problems can be devastating for web applications as the servers are long running and object accumulation can be a problem in the heap. For more information on Memory profiling visit : http://java.sun.com/javase/6/docs/technotes/guides/visualvm/index.html For more information on GC and heap visit : http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html Thanks, Ashok A V On Sat, Aug 8, 2009 at 1:18 AM, JKid314159<happy27...@yahoo.com> wrote: > Hi Ashok: > > In the Garbage Collector lesson, mentions memory profiler. What is memory > profiler? > > Respects, > > JKid314159 > http://existentialists.blogspot.com/ > -- Victory belongs to the most persevering. - Napoleon --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to javaprogrammingwithpassion@googlegroups.com To unsubscribe from this group, send email to javaprogrammingwithpassion-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en -~----------~----~----~----~------~----~------~--~---