Hi Bertran,
There could be a number of different factors effecting memory consumption in your app, this Academy module should be useful in better understanding how your app is performing.
https://academy.mendix.com/link/paths/27/Learn-How-to-Administer-your-Apps
Regards, Steve.