Searching Unremoved Objects

Problem

To avoid memory leaks on using components of Foresight  Analytics Platform, call the dispose method for unused objects.

However, during the development you can forget, which objects were created and were not removed.

Solution

Use the PP.Util.startProfile and PP.Ui.Util.stopProfile: functions to track unremoved objects.

  1. Call the PP.Util.startProfile() method at the beginning of the page code.

  2. After executing the code for creating Foresight  Analytics Platform components, call the dispose method.

  3. Call the PP.Ui.Util.stopProfile method from the console:

See also:

Web Applications Developers Knowledge Base