Setting function properties for mounted middleware

I’m mounting a Rodauth app for authentication. This needs a bit more memory than the rest of the app. Is there a way to set memory_size for mounted apps?