measure jvm memory usage before/after creating ur object; but it is not assured to give the correct size(gc). or u can use a premain agent.
On Wed, Nov 25, 2009 at 12:37 AM, Abhijeet Kumar <[email protected]>wrote: > How can i find size of an object in java???? > plsss answer asap > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<algogeeks%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- Thanks, Chakravarthi. -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
