Today i tried to add a new country and i got an empty (blank) page. Enabling the debug, i see it is a memory error. But as you will read below, it is very strange and seems like an other problem (bug ?).
I run my multi-country system with a plan allowing me up to 256 mb physical memory. See the error:
[08-May-2015 16:36:46 Europe/London] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 90 bytes) in /home/website.eu/oc-includes/osclass/classes/database/DBRecordsetClass.php on line 186
The above error means that 256 mb are not enough.
So i switch via .htaccess to 128 mb allowance for testing reasons. Here is the error:
[08-May-2015 16:41:28 Europe/London] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 81 bytes) in /home/website.eu/oc-includes/osclass/classes/database/DBRecordsetClass.php on line 186
As you see, the error is pretty much the same for 128 mb and 256 mb, and that is at least strange. I mean there is always a few bytes missing, with either 128 or 256 mb. And that can't be true. With 128mb the missing bytes should have been a lot bigger.
Or some programmer can explain to me the cause of it.
I would appreciate some help on this, since i can't go beyond 256mb for php, unless i switch to a much more expensive hosting plan (i will not for now).
Thanks