Strange Memory Error occuring

Hey all wondering if someone could shed some light…


On our new 64bit server and matrix 3.8.3 vanilla install we seem to be getting errors that are causing some issues…



when we add files/assets to the system, when it returns to the details screens or edit content screens.



Tha page fails to load.



Viewing the source of the frame shows:



<b>Fatal error</b>: Allowed memory size of 16777216 bytes exhausted (tried to allocate 23040 bytes) in <b>/web/data/mysource/fudge/general/datetime.inc</b> on line <b>642</b><br />



I have checked BOTH of the php.ini files we use for the apache mod and cli version, and both have memory limits enabled to 32M, POST size is 16M, script excecution is 60 seconds…



Anyone able to shed some light on this?

Yup, we set the memory limit for Matrix in SYSTEM_ROOT/core/web/index.php – change it there. :slight_smile:


If you have the Squiz Server, we also set a memory limit in bin/start_server.php



And finally, there is another memory limit in SYSTEM_ROOT/core/cron/run.php

[quote]Yup, we set the memory limit in SYSTEM_ROOT/core/web/index.php – change it there. :slight_smile:
[right][post=“10600”]<{POST_SNAPBACK}>[/post][/right][/quote]



Was/is that documented anywhere? :blink:’ /> <img src=‘http://forums.matrix.squiz.net/public/style_emoticons/<#EMO_DIR#>/biggrin.gif’ class=‘bbc_emoticon’ alt=’:smiley:

[quote]Was/is that documented anywhere?  :blink:’ />  <img src=‘http://forums.matrix.squiz.net/public/style_emoticons/<#EMO_DIR#>/biggrin.gif’ class=‘bbc_emoticon’ alt=’:smiley:
[right][post=“10601”]<{POST_SNAPBACK}>[/post][/right][/quote]



What is this documentation you speak of? B) I’ll check the Server Administration manual and make sure it gets added (if its not there already).

[quote]What is this documentation you speak of?  B) I’ll check the Server Administration manual and make sure it gets added (if its not there already).
[right][post=“10602”]<{POST_SNAPBACK}>[/post][/right][/quote]





32M be enuff?



we have 4GB available plus 1g swap heheheh

[quote]32M be enuff?
[right][post=“10604”]<{POST_SNAPBACK}>[/post][/right][/quote]



The highest I have on a client site is 128M. I would say bump to 32M until you get the same error and then bump again.

Cool will have a look and see how it goes. :smiley:


Finally have a vanilla install running on the 64bit server



now just making sure matrix works nicely with the php libraries using lib64



then rebuild the whole server on monday to a clean point…