Size of Union in SystemVerilog

In reply to kddholak:

Yes, that is right.
For first union : UN_A 40 bits
For second union : UN_B 41 bits

But I want to know is there any method in SV to find the memory size of union.