How to check the space occupied by each page?

is there any script or extension that I can use to see where the biggest documents are (attachments, space, pages, trash, versioning). I’m 33GB in my dump and would like to see where I can start doing a cleanup.

Thanks in advance.

I don’t know if any script exist but here a piece of velocity code to check attachments size in a page:

  #foreach($MyAttach in $doc.getAttachmentList())
    #set($TotalSize=$TotalSize + $MyAttach.getFilesize())

Pascal B

I don’t know any extension which does that yet (but as @Pbas indicated it’s not too hard to write).

One thing you could check before is the Attachment index where you can order attachments by size. See

Thanks, Pascal and Thomas!