Memory consumption scales with message size being injected, regardless of whether the messages are being sent or not due to node message size limit.
E.g.: AFAIK node can only send messages of size <15KB, if I configure the simulator to send 1000KB messages, even if those messages are not sent, the node memory usage increases.