Message179610
Why are you connecting to a multiprocessing listener with a raw socket? You should be using multiprocessing.connection.Client to create a client connection.
Connection.send(obj) writes a 32 bit unsigned int (in network order) to the socket representing the length of the pickled data for obj, followed by the pickled data itself.
Since you are doing a raw socket write, the server connection is misenterpreting the first 4 bytes of your message "abcd" as the length of the message. So the receiving end needs to allocate space for
struct.unpack("!I", "abcd")[0] == 1633837924 ~ 1.5Gb
causing the MemoryError. |
|
Date |
User |
Action |
Args |
2013-01-11 01:05:57 | sbt | set | recipients:
+ sbt, jbrearley |
2013-01-11 01:05:56 | sbt | set | messageid: <1357866356.83.0.954557409074.issue16920@psf.upfronthosting.co.za> |
2013-01-11 01:05:56 | sbt | link | issue16920 messages |
2013-01-11 01:05:55 | sbt | create | |
|