<rdf:RDF
    xmlns:s='http://snipsnap.org/rdf/snip-schema#'
    xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
    xml:base='http://www.stefanrufer.ch/snipsnap/rdf'>
    <s:Snip rdf:about='http://www.stefanrufer.ch/snipsnap/rdf#Virtual+Brain/Java/Profiling'
         s:cUser='stefan'
         s:oUser='stefan'
         s:mUser='stefan'>
        <s:name>Virtual Brain/Java/Profiling</s:name>
        <s:content>Some profiling code sniplets available here:&#xD;&#xA; - Article discusses an approach to measure the size of a datastructure (object tree) in Java. It uses a reflection based algorithm to traverse an object tree given any object as the root. Worked fine for my needs. Challenge: static values of object sizes in the code. Maybe you have to measure this for your JVM. http://www.javaworld.com/javaworld/javaqa/2003-12/02-qa-1226-sizeof.html&#xD;&#xA; - Article discusses size of objects in Java (Object, Integer, Arrays, ...). Contains example code to measure it in your JVM. Interesting but I didn&apos;t take the time to fully analyze the code that looked a bit complicated to me at first sight. http://www.javaworld.com/javaworld/javatips/jw-javatip130.html&#xD;&#xA; - A &quot;heap-dump&quot; utility they use in NetBeans. Maybe useful, I didn&apos;t successfully work with it yet. http://performance.netbeans.org/insane/&#xD;&#xA; - I was told that this is a fine Profiler that allows inspection of memory used by object and by object including child objects. It is able to compare snapshots against each other. http://www.yourkit.com/&#xD;&#xA;</s:content>
        <s:mTime>2004-11-25 14:53:34.804</s:mTime>
        <s:cTime>2004-11-24 13:52:30.27</s:cTime>
        <s:comments
             rdf:type='http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag'/>
        <s:snipLinks>
            <rdf:Bag>
                <rdf:li rdf:resource='#snipsnap-index'/>
                <rdf:li rdf:resource='http://www.stefanrufer.ch/snipsnap/rdf#Virtual Brain/Java'/>
                <rdf:li rdf:resource='http://www.stefanrufer.ch/snipsnap/rdf#Virtual Brain'/>
                <rdf:li rdf:resource='http://www.stefanrufer.ch/snipsnap/rdf#Virtual+Brain'/>
                <rdf:li rdf:resource='http://www.stefanrufer.ch/snipsnap/rdf#Virtual+Brain/Java'/>
            </rdf:Bag>
        </s:snipLinks>
        <s:attachments
             rdf:type='http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag'/>
    </s:Snip>
</rdf:RDF>

