02.03.2014 Views

Tornado

Tornado

Tornado

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6<br />

Browser<br />

6.11 Browser Displays and Target Link Speed<br />

If your communications link to the target is slow (a serial line, for example), use<br />

the browser judiciously. The traffic back and forth to the target grows with the<br />

number of objects displayed, and with the update frequency. This traffic may<br />

seriously slow down overall <strong>Tornado</strong> performance, on slow links. If you<br />

experience this problem, try displaying fewer objects, updating browser displays<br />

on request instead of periodically, or setting updates to a longer interval.<br />

6<br />

6.12 Troubleshooting with the Browser<br />

Many problem conditions in target applications become much clearer with the<br />

browser’s visual feedback on the state of tasks and critical objects in the target. The<br />

examples in this section illustrate some of the possibilities.<br />

6.12.1 Memory Leaks<br />

The browser makes memory leaks easy to notice, through the memoryconsumption<br />

bar graphs in the main browser window: if the allocated portion of<br />

memory grows continually, you have a problem. The memory-consumption graph<br />

in Figure 6-21 corresponds to a memory leak in an application that has run long<br />

enough to almost completely run out of memory.<br />

Figure 6-21<br />

A Memory Leak as Seen in the Browser<br />

227

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!