node.js / socket.io is there a maximum message/event size

Viewed 10633

the titel says it all - is there a maximum size for an event (or message) i want to send from the server to the client?

i want to send a json string to the client and it looks something like this:

[{"id":"4e25434f0f110ec101000005","media":"4fb135d508e972664c5adf3.jpg"},
 {"id":"4e2545f30f110ec101000021","media":"d09b745414e251695aa33e04.jpg"},
 {"id":"4e2554ce7bcfb24702000012","media":"076eea872411e433b9.png"},
 {"id":"4e255bc4f34a41cb02000010","media":"c2af3db4707db3ece.png"}]

if the array would contain e.g. 200 items, would this crash?!

2 Answers
Related