PhD seminar - Masoomeh RudafshaniExport this event to calendar

Thursday, December 11, 2014 — 10:00 AM EST

Candidate

Masoomeh Rudafshani

Title

Finding and Fixing Memory Leaks in JavaScript Applications

Supervisor

Paul Ward

Abstract

While the memory leak problem has been addressed in the context of many programming languages, it has not been well studied for JavaScript; which is the main programming language in the browsers. Client-side web applications communicate with the server asynchronously, remaining on the same web-page during their lifetime. Thus, even minor memory leaks may lead to excessive memory usage, negatively affecting user-perceived response time and possibly causing program failures, especially on devices with limited resources.

In this seminar, we introduce LeakSpot, a tool that creates a heap model by modifying web-application code, in a browser-agnostic way, to record object allocations, accesses, and references created for an object. It monitors accesses to the objects to determine objects' staleness (time since last use) and combines this information with allocations or reference creation points on the objects to determine leaked objects. To facilitate debugging and fixing the leaks, LeakSpot reports the allocation sites of the leaked memory, last use sites, and the locations in the program that created a reference on objects (potential references which prevents the objects from being released). We have used LeakSpot to find and fix memory leaks in JavaScript benchmarks and open source web applications. In addition, we have identified potential memory leaks in popular web applications and pinpointed the possible source of those leaks.

Location 
EIT building
Room 3145

,

S M T W T F S
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
  1. 2019 (231)
    1. December (1)
    2. November (2)
    3. October (13)
    4. September (26)
    5. August (26)
    6. July (40)
    7. June (24)
    8. May (23)
    9. April (35)
    10. March (25)
    11. February (9)
    12. January (10)
  2. 2018 (150)
    1. December (13)
    2. November (25)
    3. October (12)
    4. September (13)
    5. August (7)
    6. July (23)
    7. June (9)
    8. May (6)
    9. April (9)
    10. March (16)
    11. February (10)
    12. January (7)
  3. 2017 (212)
  4. 2016 (242)
  5. 2015 (242)
  6. 2014 (268)
  7. 2013 (192)
  8. 2012 (31)