Hello there,
It would be better if you could share your Code.
It is possible that using the ExchangeOnlineManagement v3 module takes up to 300MB. It is recommended that you try using the current release: Version 3.2.0
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer–