
06-07-2006, 04:17 PM
|
 |
|
|
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by TECK
You are right, I was cheating using a tricky way to calculate the memory, without get_memory_usage() compiled in PHP.
It was showing the right values, except it was divided to much.... the right results are 2,985KB not 0.20KB.
Since I did not wanted to get into extra calculations, I simply removed the process to ease the server and stop piping through grep the hole activity log.
Trust me, it's better this way now.
If you guys really want it, I could post the mod here, but I will not insert it into the original code. Performance wise is not recommended.
|
I guess I'd have had my answer sooner if I actually looked at the Admin CP setting description for the memory usage display, huh?
Display the server memory usage, per page.
If you display results like 0KB Used, you need to compile PHP with enable-memory-limit option.
|