Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 320410

Summary: [LTTng] Re-implement Events View
Product: z_Archived Reporter: Francois Chouinard <fchouinard>
Component: LinuxToolsAssignee: Francois Chouinard <fchouinard>
Status: CLOSED DUPLICATE QA Contact: Francois Chouinard <fchouinard>
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Bug Depends on:    
Bug Blocks: 301637    

Description Francois Chouinard CLA 2010-07-20 11:47:55 EDT
Because of the potentially large amount of events, the current Events View is implemented using a virtual table i.e. the table entries are filled as needed instead of up front.

While this is an improvement over a "normal" table, a virtual table still keeps a (usually null) pointer for each of its entries and can use up a fairly large amount of memory. E.g. loading a 3GB trace can easily generate an OutOfMemoryException.

The solution would be to allocate a small, fixed size table and use it as window in the actual trace. To navigate in the trace, a slider (acting as a scroll bar) is used.

Note: This is the solution used in LTTv and Matthew Khouzam did some preliminary work on this.
Comment 1 Francois Chouinard CLA 2010-07-20 11:54:12 EDT
Repeating myself. Too many bugs :-(

*** This bug has been marked as a duplicate of bug 316349 ***
Comment 2 Francois Chouinard CLA 2010-09-12 13:24:26 EDT
Closed the bug