Category Archives: PHP

PHP deficiencies

I’ve recently had the task of uploading a large dataset via a PHP script. My application is designed under a MVC paradigm, and the uploaded data was transferred via an array declared in the controller to the view from the model. After processing around 5,000 records my script died with an out of memory error – the 128 megabyte limit was reached. Wow, I wondered why my script was consuming so much memory?

Continue reading