Drupal site requires higher memory after migration? What for?
We have a website with a previous memory limit of 12MB (12MB in php.ini and 16MB in settings.php) and worked before.
After upgrading to a new server, it started throwing memory errors and showing a half-blank screen.
We have exceeded the limit in both files (php.ini and settings.php) and it works now, but I donβt see how itβs possible that it now requires significantly more memory (it used to work with 12MB, now it works with less than 20 MB).
a source to share
I assume you haven't changed the OS in the process. Moving from Windows to Linux, or vice versa, is likely to change resource usage.
And this is a long shot, but perhaps you have switched from a 32-bit system to a 64-bit system? This will slightly increase memory usage, since addresses (pointers) will be twice as large on 64-bit architectures, and code with a lot of small objects uses a lot of pointers.
Overall, however, we cannot tell much without seeing what has changed in the system.
a source to share
12 MB is really very low. I would ignore it and continue.
Ideas that could change:
-
The old server might have modules installed that reduced memory usage, for example.
memcache
-
The new server might have to rely on a library
GD
for image processing, whereas the old server might beImageMagick
(which is an external tool and doesn't count towards the memory limit)
a source to share