Loading…
Node Interactive North America 2017 has ended
October 4-6, 2017 - Vancouver, BC Canada
Click Here For Information & Registration
Back To Schedule
Thursday, October 5 • 2:40pm - 3:10pm
Programming Best Practices: Memory Efficiency with Closures [I] - Gireesh Punathil, IBM India Pvt Ltd

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Memory Leaks leading to undesired growth and exhaustion of memory are by far the most common production problem reported on enterprise scale Node applications. Closures, a powerful semantic feature in functional programs which are used pervasively in Node.js/Javascript programs to support their asynchronous and event driven programming model, are a prominent source of unanticipated memory leaks.
In this presentation, I will explain three of the most common use cases where Closures are used in Node. For each of the use cases, I will explain a) sample code, b) the life-span of the Closure context and which variables the closure keeps live, iii) what memory will be retained during the life-span of the Closure.

Speakers
avatar for Gireesh Punathil

Gireesh Punathil

Software Engineer, IBM India
Gireesh Punathil is a member of Node.js Technical Steering Committee, member of Java Community Process Executive committee, and an Architect in IBM India Software Labs, predominantly in Node.js and Java. In 18 years of his career, he has been porting, developing and debugging web... Read More →



Thursday October 5, 2017 2:40pm - 3:10pm PDT
West Meeting Room 122
  Diagnostics