When apliyng a patch with a lot of files i get a memory exausted fatal error.
This is the patch i'm applying infograf768/joomla-cms#30
Patch applied.
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4078152 bytes) in /path/to/joomla-staging/libraries/joomla/database/driver.php on line 2041
Joomla 3.6.0 beta 2
PHP memory limit 256M.
I know i can put the php memory limit higher.
But this is the memory limit i used for joomla forever and always worked.
So why is the patchtester using so much memory.
Aditional info.
If i remove this lines https://github.com/joomla-extensions/patchtester/blob/master/administrator/components/com_patchtester/PatchTester/Model/PullModel.php#L297-L309 it applies with no memory issues (of course it doesn't save as applied).
So the problem should be there.
I removed JTable completely. So we'll see how much that helps.
ok thanks!
Have you had a chance to test perhaps? Between this and other changes I made today, a lot of moving pieces in the code right now.
i tested the same patch and worked now. thanks.
| Status | New | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-06-28 10:56:51 |
| Closed_By | ⇒ | andrepereiradasilva |
just tested with 350MB and still get the fatal error
Fatal error: Allowed memory size of 367001600 bytes exhausted (tried to allocate 4078152 bytes) in /path/to/joomla-staging/libraries/joomla/database/driver.php on line 2041