sIEve帮助文档
sIEve
sIEve is a project to get rid of memory leaks due to some limitations of the garbage collector in Internet Explorer. Executing AJAX kind of applications (like Cordys Explorer) will stress the browser heavily. Internet Explorer is not very strong in Memory Management. With other words; It is very easy to introduce serious memory leaks in Internet Explorer by executing JavaScript and DHTML manipulation.
Main Dialog
Back: Going back in browser history (not yet tested)
previous: Going forward in browser history (not yet tested)
Adress: The URL to Navigate (Last visited URL will be kept in Registry and will be restored when you restart sIEve
GO: Navigate to the URL in Address field. (Also the default button if you press 'Enter')
about:blank: unloads the current page. giving a blank screen. This is extremely usefull to find leaks after page is unloaded. If you press the Show in Use button after pressing the about:blank button then you see all the real leaks (DOM elements which are not freed or garbage collected by IE.
IE Browser control: In this area the webpage’s will be loaded and shown.
Auto Refresh: The current URL will be automatically refreshed. In the memory samples list and graph you can observe if there are still leaks in your application. The ‘Auto Refresh’ button will change into ‘Stop’ to cancel the auto refesh mode.
Clear in use: The current list of registered DOM elements in use will be cleared. Actually the Items will be hidden from the ‘Elements in Use’ Dialog.
Show in use: A (modeless) dialog will be opened to show all DOM elements currently in use. If the dialog was already open the list on the dialog will be refreshed. Elements which are cleared from the list by usage of the ‘Clear in Use’ button will not be showed again unless there is an increase in the number of references to the particular hidden elements. (IE when the elements refcounter is increased, in fact it is a new element in use which can cause a leak. The Dialog Stays open so you can press again and again the ‘Show In use’ button. The dialog also contains the same ‘Clear inUse / show in use / show leaks’ buttons. The buttons on that dialog has the same functionality as their counterparts on the main dialog.
Show Leaks: A (modeless) dialog will be opened to show all known leaks until now. Old leaks will remain on the list and never cleared. However you can distinghish new leaks form old leaks. (Colors and document id’s are used to distinguish)
Memory Samples List: This list will contain the last known (200) memory samples. The VM size (virtual memory) is reported in the list. Pressing the ‘Go’ button or the ‘Auto Refresh’ button will clear the memory samples list. Green lines indcates memory reduction; Red lines indicates increase; Black lines indicates no change in memory usage since previous sample.
Usage: Working Set size of physical used memory in Kilobytes (KB)
Delta: Difference in memory usage since previous sample in Kilobytes (KB)
Avg: The average of Delta’s in Kilobytes (KB). Notice that this figure only gives some indication. Big fluctuations in memory usage can give unpredictable results.
#inUse: The actual number of registered DOM Elements by the sIEve tool.
#hidden: The actual number of hidden DOM Elements from the list due to usage of the ‘Clear in Use’ button
Memory Samples History: A graph showing all values from the ‘Usage’ column in the memory Samples List. However this graph will never be cleared. (So take care ‘sIEve’ has a (relative) small memory leak due to the unlimited size of the history.
Slow/Fast/Paused: The update speed of the Memory Samples History Graph and List. Slow = 5 seconds; Fast = 1 Second; Paused = no updates;
Help: Opens new IE Browser window with help information.
Log Defect: Opens new IE Browser window where you can log any issue (Don’t forget to log-in or specify your name, that will be easier for giving feedback by the developers of the tool.
<div style="float: right; margin-left: 5px;" class="editsection">[edit]
页:
[1]