Replies: 1 comment 6 replies
-
This would be a question for libzmq, I think. It's possible pyzmq is doing something wrong in allocating large messages, but I don't think so. It may be related to underlying buffer sizes or something. There is a |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using the code shown below to serialize and send a NumPy array from the client to the server. I noticed that when the NumPy array is larger than 2 GB the client seems to stall when sending the array. So in the
client.py
code below, if you usen = 17000
the client will stall after creating the array. I ran this code on a laptop with 32 GB of memory so there should be plenty of RAM available for the message. Is there a limit to the size of a NumPy array that I can send as a message?Client code that creates NumPy array (client.py)
Server code that receives NumPy array (server.py)
Beta Was this translation helpful? Give feedback.
All reactions