File Download

There are no files associated with this item.

  • Find it @ UNIST can give you direct access to the published full text of this article. (UNISTARs only)
Related Researcher

이주용

Yi, Jooyong
Programming Languages and Software Engineering Lab.
Read More

Views & Downloads

Detailed Information

Cited time in webofscience Cited time in scopus
Metadata Downloads

Full metadata record

DC Field Value Language
dc.citation.endPage 1995 -
dc.citation.number 7 -
dc.citation.startPage 1969 -
dc.citation.title IEEE TRANSACTIONS ON SOFTWARE ENGINEERING -
dc.citation.volume 51 -
dc.contributor.author Shahoor, Arooba -
dc.contributor.author Abdyldayev, Satbek -
dc.contributor.author Hong. Hyeongi -
dc.contributor.author Yi, Jooyong -
dc.contributor.author Kim, Dongsun -
dc.date.accessioned 2025-06-02T13:30:00Z -
dc.date.available 2025-06-02T13:30:00Z -
dc.date.created 2025-06-02 -
dc.date.issued 2025-07 -
dc.description.abstract Developing modern web applications often relies on web-based application frameworks such as React, Vue.js, and Angular. Although the frameworks accelerate the development of web applications with several useful and predefined components, they are inevitably vulnerable to unmanaged memory consumption as the frameworks often produce monolithic web pages, socalled, Single Page Applications (SPAs), in which no page refresh actions are made during navigation.Web applications can be alive for hours and days with behavior loops, in such cases, even a single memory leak in an SPA can cause performance degradation on the client side. However, recent debugging techniques for web applications focus on memory leak detection, which requires manual tasks and produces imprecise results, rather than proactively repairing memory leaks.
We propose LEAKPAIR, a technique to proactively repair memory leaks in SPAs rather than following a classical and reactive debugging process. Given the insight that memory leaks are mostly non-functional bugs and fixing them might not change the behavior of an application, the technique is designed to proactively generate patches to fix memory leaks, without leak detection, which is often heavy and tedious. Thus, the proactive technique can significantly reduce the time and effort necessary to fix the memory leaks. To generate effective patches, LEAKPAIR follows the idea of pattern-based program repair since the automated repair strategy shows successful results in many recent studies. We extensively evaluate the technique on 60 open-source projects without using explicit leak detection. The patches generated by our technique are also submitted to the projects as pull requests (PRs). The results of PRs show that LEAKPAIR can generate effective patches to reduce memory consumption that are acceptable to developers. In addition, we execute the test suites given by the projects after applying the patches, and it turns out that the patches do not cause any functionality breakage; this might imply that LEAKPAIR can generate non-intrusive patches for memory leaks. Furthermore, we compare the performance of LEAKPAIR with that of GPT-4 as recent studies show that large language models are successful with program repair tasks. Our results show that our technique outperforms the language model.
-
dc.identifier.bibliographicCitation IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, v.51, no.7, pp.1969 - 1995 -
dc.identifier.doi 10.1109/TSE.2025.3571192 -
dc.identifier.issn 0098-5589 -
dc.identifier.scopusid 2-s2.0-105006476218 -
dc.identifier.uri https://scholarworks.unist.ac.kr/handle/201301/87167 -
dc.identifier.wosid 001531750100001 -
dc.language 영어 -
dc.publisher Institute of Electrical and Electronics Engineers -
dc.title Proactive Debugging of Memory Leakage Bugs in Single Page Web Applications -
dc.type Article -
dc.description.isOpenAccess FALSE -
dc.relation.journalWebOfScienceCategory Computer Science, Software Engineering -
dc.relation.journalResearchArea Computer Science;Engineering -
dc.type.docType Article -
dc.description.journalRegisteredClass scie -
dc.description.journalRegisteredClass scopus -
dc.subject.keywordAuthor Maintenance engineering -
dc.subject.keywordAuthor Servers -
dc.subject.keywordAuthor Web pagesLeak detection -

qrcode

Items in Repository are protected by copyright, with all rights reserved, unless otherwise indicated.