private static long getCommitted(Object data) { MemoryUsage u = MemoryUsage.from((CompositeData) data); return u.getCommitted(); }