Cannot delete multiple hosts - Trunk 5147
-
Hi
I have just upgraded to trunk 5147 and tried to delete multiple hosts and this is what i’m getting.
The second one is for 256M.
[Fri Oct 30 16:14:00 2015] [notice] Apache/2.2.22 (Debian) mod_ssl/2.2.22 OpenSSL/1.0.1e configured – resuming normal operations
[Fri Oct 30 16:17:06 2015] [error] [client 10.160.3.62] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 3 bytes) in /var/www/fog/lib/fog/FOGController.class.php on line 211, referer: http://10.160.16.254/fog/management/index.php?node=host&sub=deletemulti[Fri Oct 30 16:33:37 2015] [error] [client 10.160.3.62] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 77 bytes) in /var/www/fog/lib/fog/FOGController.class.php on line 211, referer: http://10.160.16.254/fog/management/index.php?node=host&sub=deletemulti
-
This is not a bug. I have no idea how many items you’re trying to delete, or how many items (in general) you have.
You can update the memory size by changing the setting in FOG Configuration->FOG Settings->General Settings->FOG_MEMORY_LIMIT
-
I saw a portion of the problem and I believe this is now fully fixed too. While memory issues are not something I can fix for you, I did make the methods called a bit more efficient.
-
@Tom-Elliott said:
I saw a portion of the problem and I believe this is now fully fixed too. While memory issues are not something I can fix for you, I did make the methods called a bit more efficient.
Tom is a bug murdering ace lately…