I created a Silverstripe site and currently I am adding content to it. I now have about 300 pictures in the assets folder (no giant file sizes, approximately about 20K average file size - 7 MB all files in total - and no file larger than 100K). If I upload just a few more images (via FTP) and I then open the "assets" tab in the CMS to let Silverstripe know that these files exist I get a "Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 46289 bytes)".
I am on a virtual private server and it seems that I cannot allocate more than 32MB to PHP.
It seems the memory_limit problem comes from the number of files, not from particularly large files. Did anyone else have this problem? Is there any workaround or any way to split the execution of the script into smaller chunks so the memory limit does not get exhausted?
The site I am working on is basically ready to go live, but now I am stuck because I cannot add more content.
Nevertheless: thank you for the hard work and efforts you all put into Silverstripe.
Any hints to solve this problem would be highly appreciated.