Memory usage while updating a user in the frontend

Hi,
i realized that the memory usage of my webpage reaches up to 200mb only because i update the user.txt of a single user.
Same page without the $user->update() statement only uses 2.5mb.
Is this “normal”? We have 35 accounts with different user roles.

I am using kirby v3.6.6.1 at the moment.

Thanks.

Found a solution.
In the user blueprint i have a bad query.

out of curiosity… what was that query like?

to be real… 2 queries. both like site.index.find('somepage').children

thanks. yes queries like that in blueprints cause quiet a spike when updating stuff from within the panel. it wont happen when you update the user from the frontend code like you confirmed.