"Grant Ingersoll" <[EMAIL PROTECTED]> wrote:
> 
> Michael, like everyone else, I am watching this very closely.  So far  
> it sounds great!
> 
> On Apr 5, 2007, at 8:03 PM, Michael McCandless wrote:
> 
> > When I measure "amount of RAM @ flush time", I'm calling
> > MemoryMXBean.getHeapMemoryUsage().getUsed().  So, this measures actual
> > process memory usage which should be (for my tests) around the sum of
> > the above two types of RAM usage.
> 
> One thing caught my eye, though, MemoryMXBean is JDK 1.5.  :-(
> 
> http://java.sun.com/j2se/1.5.0/docs/api/java/lang/management/ 
> MemoryMXBean.html

Yeah, thanks for pointing this out.  I'm only using that to do my
benchmarking, not to actually measure RAM usage for "when to flush",
so I will definitely remove it before committing (I always go to a
1.4.2 environment and do a "ant clean test" to be certain I didn't do
something like this by accident :).

Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to