Reduce memory consumptions for reporting pages
Currently, it goes above 32MB when there are many users. This is too much. Chamilo should generally use less than 32MB for any page to load. If it uses more, it is a sign that we are doing things incorrectly or depending on very heavy modules that are doing things incorrectly.