PHP memory size limit issue.

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
prakashs
Posts: 2
Joined: 13 Nov 2020, 16:50

PHP memory size limit issue.

Post by prakashs »

When i'm trying to open the "Manage Projects" page via UI, getting httpd error 500. On checking further the logs i can see that it is throwing the below error:

PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 107229184 bytes) in /var/www/html/mantisbt/manage_proj_page.php on line 120, referer : http://mantisoup.oup.com/mantisbt/manage_proj_page.php

Please suggest if need to increase the PHP memory limit in php.ini config file.
Mantis_php_error.png
Mantis_php_error.png (39.77 KiB) Viewed 3805 times
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: PHP memory size limit issue.

Post by atrol »

Hard to say anything without some more details, e.g.
- Which version of MantisBT do you use?
- How many projects / users do you have in your installation
Please use Search before posting and read the Manual
prakashs
Posts: 2
Joined: 13 Nov 2020, 16:50

Re: PHP memory size limit issue.

Post by prakashs »

Hi Atrol,

- Which version of MantisBT do you use? -- Using v1.2.19
- How many projects / users do you have in your installation -- We have around 400+ projects and 1500+ users in the system.

I know that the version we are using is quite old and need to update it but we only have the production instance so not directly upgrading it. Will this be bug with current version or the memory limit has reached.

Thanks,
Satya
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: PHP memory size limit issue.

Post by cas »

Did you look (for example) here:
https://www.airpair.com/php/fatal-error ... emory-size
Suggest you follow the advice given and try again.
Post Reply