JavaScript for Line of Business Applications
596.1K views | +1 today
Follow
JavaScript for Line of Business Applications
Keeping track of current JavaScript Frameworks that help design your clientside Business Logic Layers.
Curated by Jan Hesse
Beam to my Inbox:
Your new post is loading...
Your new post is loading...

Popular Tags - Filter using the Funnel

Current selected tag: 'Memory'. Clear
Scoop.it!

How to Self Detect a Memory Leak in Node

How to Self Detect a Memory Leak in Node | JavaScript for Line of Business Applications | Scoop.it

Tracking down memory leaks with node.js has always been a challenge. The following discusses how to track memory leaks from within a node application itself with the help of two awesome node modules – memwatch and heapdump.

No comment yet.
Scoop.it!

JavaScript Memory Management Masterclass

Efficient JavaScript webapps need to be fluid and fast. Any app with significant user interaction needs to consider how to effectively keep memory usage down because if too much is consumed, a page might be killed, forcing the user to reload it and cry in a corner.

Automatic garbage collection isn't a substitute for effective memory management, especially in large, long-running web apps. In this talk we'll walk through how to master the Chrome DevTools for effective memory management.

Learn how to tackle performance issues like memory leaks, frequent garbage collection pauses, and overall memory bloat that can really drag you down.

No comment yet.
Scoop.it!

Fixing Memory Leaks in AngularJS and other JavaScript Applications

Fixing Memory Leaks in AngularJS and other JavaScript Applications | JavaScript for Line of Business Applications | Scoop.it

Dealing with memory leaks in JavaScript applications can be a complex process. In this article I'm going to show you how to identify whether you have memory leaks, analyse them and ultimately resolve them.

I'm using an AngularJS application to demonstrate the concepts and approaches, but much of this material applies to any JavaScript application.


Contents:

  • Understanding Memory Leaks What is a Memory Leak? Why is a Memory Leak Bad?
  • Identifying Memory Leaks Method 1: The Wrong Way Method 2: The Timeline Method 3: Recording Heap Allocations Method 4: Heap Snapshots
  • Analysing Memory Leaks Analysing the leak in Scenario 2 More on Graphs
  • Fixing Memory Leaks Three golden rules Anti-patterns to avoid
  • The Future Weak Maps AngularJS 2 Even Better Browsers
  • Appendices Thanks Mysteries Futher Reading
Rick's curator insight, July 17, 2015 9:45 AM

Resolving memory leaks can dramatically increase the performance of your application.

Scoop.it!

Effectively managing memory at Gmail scale

Effectively managing memory at Gmail scale | JavaScript for Line of Business Applications | Scoop.it

While JavaScript employs garbage collection for automatic memory management, it is not a substitute for effective memory management in applications. JavaScript applications suffer from the same memory related problems that native applications do, such as memory leaks and bloat, yet they must also deal with garbage collection pauses. Large-scale applications like Gmail encounter the same problems facing your smaller applications. Read on to learn how the Gmail team used Chrome DevTools to identify, isolate, and fix their memory problems.

No comment yet.