Higher values of Keep M in N

I’m building an application where I need to consider big frame sizes,
and a part of those frames goes to a sensing algorithm, the rest being

However, for the Keep M in N block there is a limit to how large N can
be, because it tries to buffer all of it. Is there a block or procedure
I can work with you can point me out?

Thanks in advance,