How to increase php mymory size?

  • Hello,
    I want import large ip address to aliases.
    But it's will show error message.

    PHP ERROR: Type: 1, File: /usr/local/www/classes/Form/Section.class.php, Line: 159, Message: Allowed memory size of 536870912 bytes exhausted (tried to allocate 65011191 bytes)

    Could I increase allow memory size?How to do it?

  • Looks like you have 512MiB of memory and it tried to allocate ~64MiB but there was not enough free. Add more memory? Possibly disable additional services that you may have enabled, like Snort or squid.

Log in to reply