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 -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -