LeakPair: Proactive Repairing of Memory Leaks in Single Page Web Applications
Arooba Shahoor, Askar Yeltayuly Khamit, Jooyong Yi, Dongsun, Kim

TL;DR
LeakPair is a proactive, pattern-based repair technique that automatically generates patches to fix memory leaks in single page web applications without relying on explicit leak detection, reducing memory consumption while preserving functionality.
Contribution
LeakPair introduces a novel proactive repair approach for memory leaks in SPAs that does not depend on leak detection, leveraging pattern-based program repair techniques.
Findings
Effectively reduces memory consumption in open-source projects.
Generated patches are accepted by developers and do not break functionality.
Operates without explicit leak detection, simplifying the repair process.
Abstract
Modern web applications often resort to application development frameworks such as React, Vue.js, and Angular. While the frameworks facilitate the development of web applications with several useful components, they are inevitably vulnerable to unmanaged memory consumption since the frameworks often produce Single Page Applications (SPAs). Web applications can be alive for hours and days with behavior loops, in such cases, even a single memory leak in a SPA app can cause performance degradation on the client side. However, recent debugging techniques for web applications still focus on memory leak detection, which requires manual tasks and produces imprecise results. We propose LeakPair, a technique to repair memory leaks in single page applications. Given the insight that memory leaks are mostly non-functional bugs and fixing them might not change the behavior of an application, the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware System Performance and Reliability · Security and Verification in Computing · Web Application Security Vulnerabilities
