You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/01/04 01:32:34 UTC

[GitHub] piiswrong commented on issue #10992: unlink memory shared file immediately on linux

piiswrong commented on issue #10992: unlink memory shared file immediately on linux
URL: https://github.com/apache/incubator-mxnet/pull/10992#issuecomment-451331523
 
 
   I can't reproduce.
   Maybe this would help?
   ```
           if sys.version_info[0] == 2:
               new_fd = multiprocessing.reduction.rebuild_handle(fd)
           else:
               new_fd = fd.detach()
           ret = nd.NDArray(nd.ndarray._new_from_shared_mem(pid, new_fd, shape, dtype))
           return ret
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services