Multiprocessing appears to keep multiple copies of the data in memory one for the master and another shared by the spawned processes.
Ken’s suggestion is to spawn process to load data which is returned to master and then passed to subsequent spawned processes. I’m not sure how this can work as even if the process which loads the data dies, the master still has a copy of the data...
Multiprocessing appears to keep multiple copies of the data in memory one for the master and another shared by the spawned processes.
Ken’s suggestion is to spawn process to load data which is returned to master and then passed to subsequent spawned processes. I’m not sure how this can work as even if the process which loads the data dies, the master still has a copy of the data...