Community
Participate
Working Groups
Hi, I need to create a tableviewer or a treeviewer containing large amount of data such as million and million of data. I'm using SWT.VIRTUAL and LazyContentProvider to handle the navigation of the data into tableviewer or treeviewer. Until 2000000 of data, I don't have any problem, but for data > 2000000 I get this error: Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at org.eclipse.jface.viewers.AbstractTableViewer$VirtualManager.adjustCacheSize(AbstractTableViewer.java:199) at org.eclipse.jface.viewers.AbstractTableViewer.setItemCount(AbstractTableViewer.java:1039) at lazytableexample.TableViewerPaging.setItemCount(TableViewerPaging.java:13) For me it's very important to handle huge amount of data, so Can you help me to fix this problem? Many thanks. Ignazia Maugeri
sending to Platform UI
I don't see how JFace-Viewers could help you here. If you don't fit 2.000.000 objects into memory then they don't fit.
(In reply to comment #2) > I don't see how JFace-Viewers could help you here. If you don't fit 2.000.000 > objects into memory then they don't fit. +1 Thanks Tom . Updating bug severity to a realistic value. And marking this as INVALID . Anyway, if you do have information that points to a problem in the viewer code, please feel free to update the bug accordingly.