Re: free allocated memory: HOW ?
| From: | Arthur Erdös | Date: | Fri, 13 Apr 2007 07:22:44 +0000 |
| Subject: | Re: free allocated memory: HOW ? | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-252835@lists.php.net to get a copy of this message | ||
> Reading in the template should only happen once and take roughly as much
> memory as the file is big.
>
> If the file is 20k, memory should go up roughly by that much.
>
> If it's going up a lot more, something is going wrong (either you're
> doing something wrong or you're not just reading the template - you're
> doing something else along with that).
>
i completely agree with you ;)
i will check if the template is really the reason for the big jump with
logging the memory usage each line.
apart from that, i am still wondering why the memory usage grows in each
loop for about 30 megs...