self.pid = os.fork() OSError: [Errno 12] Cannot allocate memory Process finished with exit code 137
Thesolutioniseithertomakethepoolsearlier,whenlessmemoryneedstobecopied,ortoworkharderatsharingthelargestobjects.Or,ofcourse,addmorememory(perhapsjustvirtualmemory,i.e.,swapspace)tothesystem.解决:排查发现原因: