You might want to check whether each child process has it's own copy of that 1Gbyte of data.
Have a look at the 'SHR' column in top to see how much memory is shared.
Otherwise, if the children don't need the AI model, you could try forking them before you load the model.
In reply to Re: Perl Threads and multi-core CPUs
by jbert
in thread Perl Threads and multi-core CPUs
by haidut
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |