Object.SizeOf (gb)

Static Function SizeOf ( Object As Object ) As Integer

Retorna em bytes a memória usada por um objeto.