Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » very large data for tableview
very large data for tableview [message #465179] Thu, 08 December 2005 01:00 Go to next message
Stefan Groschupf is currently offline Stefan GroschupfFriend
Messages: 24
Registered: July 2009
Junior Member
Hi,
I would love to wirte a rcp viewer for special kind of file format. The
format however can have several milltion record per file and I run in
problems using virtual table viewer with a ILazyContentProvider.
I already posted this bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=119317
At least haveing to much rows throws a ou of memory exception- strange
since virtual table does not contains any data at all.

But looks like there is actually no solution for the problem since it is
OS dependent.
Has anybody here a idea or suggestion how to write a workaround? I'm not
lazy in worst case i can write my own table viewer, but may someone here
has a better idea or suggestion how to workaround the problem described in
the bug.
Thanks a lot for any hints!!

Stefan
Re: very large data for tableview [message #465210 is a reply to message #465179] Thu, 08 December 2005 08:34 Go to previous message
Yves Harms is currently offline Yves HarmsFriend
Messages: 80
Registered: July 2009
Member
Well, i doubt that it really makes sense to display millions of records
in one table. In reality its highly unlikely that anybody would really
try to scroll through tousands(or more) of records.

Apart from that there are two workarounds:
- Constrain your input size to a reasonable amount. E.g. it makes no
sense to display more than 1000 search results. Just display only the
first 1000 .
- Splitt your data into sections of reasonable size, only use one area
for the input at atime. Add a listener to the table. Switch your input
to the next section of your data when the last line is reached or a
special button is pressed.

Yves


Stefan Groschupf wrote:
> Hi,
> I would love to wirte a rcp viewer for special kind of file format. The
> format however can have several milltion record per file and I run in
> problems using virtual table viewer with a ILazyContentProvider. I
> already posted this bug
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=119317
> At least haveing to much rows throws a ou of memory exception- strange
> since virtual table does not contains any data at all.
>
> But looks like there is actually no solution for the problem since it is
> OS dependent. Has anybody here a idea or suggestion how to write a
> workaround? I'm not lazy in worst case i can write my own table viewer,
> but may someone here has a better idea or suggestion how to workaround
> the problem described in the bug. Thanks a lot for any hints!!
>
> Stefan
Previous Topic:How to get a SWT document
Next Topic:Why TableTree, TableTreeEditor is deprecated?
Goto Forum:
  


Current Time: Sat Dec 07 18:54:04 GMT 2024

Powered by FUDForum. Page generated in 0.03651 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top