Heap Space exhaustion during large Meteor.publish result sets
Problem Context When a Meteor server publishes a collection containing thousands of documents, Node.js can throw a Heap Space exhaustion error. This occurs because each client subscription keeps a “head” of the data set, and the DDP merge-box on the client side buffers incoming added and changed messages. Measurement Goal The aim is to identify the precise p