Ad Widget

Collapse

bizarre memory_limit reqirements

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Piavlo
    Junior Member
    • Feb 2010
    • 8

    #1

    bizarre memory_limit reqirements

    With memory_limit=128M in php.ini I did not succeed to see 440 items linked to
    one of the templates and got:

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /var/www/localhost/htdocs/zabbix/include/func.inc.php on line 950

    So I've increased memory_limit to 256M , now it works. But then I try to access
    759 items linked from another template again i get the error:

    Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 24 bytes) in /var/www/localhost/htdocs/zabbix/include/func.inc.php on line 950

    It very bizarre that 256M is not sufficient , I meant the interface show only 50 items per page anyway. Just comparing - a webmail application can show
    tens of thousands of emails (not in one page of course, but zabbix does not show all items in one page either) with much less memory
    usage. So something seems to be inherently wrong in the web interface implementation.

    What should I do if I cannot afford to allocate more than 256M of memory for php process? Is there any fix in the plans for this problem?

    Thanks
    Alex
Working...