memory - PHP CLI ram management -


i made php script runs in background, script takes around 10mb on ram, & i've multiple scripts running @ time, im afraid out of ram. i've optimized code set variables , objects null.

is there way manage ?

thank you.

even though has become better, php not suitable long-running processes in opinion, calling gc_collect_cycles(); on regular basis can wonders, if have deal lot of data (import scripts , on).

without code can not offer more help.


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

jquery - ReferenceError: CKEDITOR is not defined -

android - Go back to previous fragment -