Python Shared Memory in Multiprocessing

Python Shared Memory in Multiprocessing

np_array's size=220.0MB
With SharedMemory: ...
Current memory usage 0.11283MB; Peak: 0.156706MB
Time elapsed: 0.99s
No SharedMemory: ...
Current memory usage 0.026587MB; Peak: 467.558995MB
Time elapsed: 5.48s

I think I shall go for shared memory! My Amiga formation years requires it!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.