On 11-05-19 01:39 AM, Sheppy R wrote:
how would you change the original code to get it to free up memory?

Put the processing in a sub-process. When it dies, the memory is returned to the system.

See:
perldoc -f fork
perldoc perlipc


--
Just my 0.00000002 million dollars worth,
  Shawn

Confusion is the first step of understanding.

Programming is as much about organization and communication
as it is about coding.

The secret to great software:  Fail early & often.

Eliminate software piracy:  use only FLOSS.

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to