I have some php scripts that are parsing huge amounts of data from csv files (100gb+) into MYSQL tables. I want to allocate every possible amount of memory to this task.
Does this line of code allow me to increase the memory allocated to the script and if so what is the max amount of RAM I can set it to?
ini_set('memory_limit', '2G');
My PC has: Windows 8 16gb RAM
time == money(primarily opinion based.) As @pguardiario said; how do you keep a huge data with a small memory? I also dont recommend inserting a big data to mysql via php. Find a better way.