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
Post a Comment