Where can I find out how large an arraylist entry is in bytes? Not the object it is pointing to, but the pointer itself. I've seen some computations for HashMap entries, but I'm not sure how much I trust them as they don't have sources. Else I might have to resort to creating small programs and heap dumping them. Ideas?