Estimating the size of a java object on a 32 bit vm?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/52353/in-java-what-is-the-best-way-to-determine-the-size-of-an-object">In Java, what is the best way to determine the size of an object?</a>  </p>
</blockquote>



<p>If I have a class like:</p>

<pre><code>Class A{
B b = new B();
int y;
int x;
}

Class B{
double x;
double y;
}
</code></pre>

<p>What will be the size of an object of Class A on a 32 bit VM/machine?</p>
