Loki CPU and Ram 100%

Hello, my CPU and RAM usage is 100% when requesting logs in 24 hours. What are the settings in the config to watch? My version Grafana 9.3.2, Loki go1.21.0

What is your deployment looking like? How many queriers do you have?