High number of Traefik API objects in K8s cluster affecting Traefik performance

I was wondering if the increase in number of K8s resources like ingresses or middlewares would affect Traefik's memory usage, especially memory? What is the best practice in creating and using multiple middlewares? Is it better to create a middleware for every ingress or keeping the number of middlewares as small as possible?