Solving Memory Problems
PHP limits the amount of memory given for execution of a script. This is controlled by the memory_limit configuration option. By default, this limit is set to 8MB. If the script tries to allocate more memory, PHP will display a fatal error in a similar format to this one:
1
Fatal error: Allowed memory size of N bytes exhausted (tried to allocate M bytes) in FILE on line #.
If you experience such an error in activeCollab, you can resolve it with the PHP memory limit increase. It will make more memory space for executing the application.
Open the php.ini file, find the line where memory_limit option is defined and change it to a higher value. Although 8MB is enough for most activeCollab requests, activeCollab will need more memory in some cases, especially when working with images. For that reason, we recommend the memory limit to be set to 64MB.
The line where the memory limit is defined will look like this:
1
memory_limit = 64M
When you make the change, save the php.ini file and restart your web server.
Some hosting providers do not allow you to edit the php.ini file on your own. If that is the case, please contact your system administrator or hosting provider and ask them to make this change for you.