Details
Details
- Ticket Type
- Task
Status | Assigned | Task | ||
---|---|---|---|---|
Open | None | T67 Real-time Collaborative Document Editing | ||
Open | Adityab | T699 Investigate and fix memory consumption/performance of PhantomJS |
Event Timeline
Comment Actions
Unscientific observations so far:
- Killing the phantom process once it's session is closed seems to help
- Noticeable improvement seen after loading snapshots into phantom instead of doing the entire first replay there.
Comment Actions
- Setting the exported snapshot buffer to undefined should encourage the GC to remove it from memory later. A noticeable improvement occured.
- A genuinely significant improvement would be to exchange the snapshots over socketio instead of the node-phantomjs library's bridge (which is seriously inefficient and a minefield of memory leaks).