Is it neccessary to initilize the shared memory ? fill with 0

Question as the title. I have been filling it with zero everytime I need to use shared memory, is it required to ensure it’s all 0 at the beginning ?

Yes.