How large a tree could I display with Treemap?
- We have not focused on optimizing Treemap for very large data files, and chose instead to improve the
functionalities of Treemap. Nevertheless we can say that Treemap was successfully used in the following cases:
- Mapping a directory comprising of 54,000 files with 20 levels.
- Data Files with 25,000 nodes along with 8-9 attributes.
- The size of the tree you can display with Treemap will also depend on the amount of memory
allocated to run Treemap. In some cases it might help to increase the maximum memory allocated to Java heap size.
This is done in the command line that starts Treemap by adding the "-Xmxm" parameter. For example to
set the max memory for Treemap to be 256M, change the run.bat file to look like this:
java -Xmx256m -jar Treemap.jar
- If you don't specify a maximum size, then the default maximum size is taken as 64M. If
Treemap program needs more memory than 64M (default setting), you will observe java.lang.OutOfMemoryError
notice. You can either add pause to the end of the run.bat file or have the Java console opened
(to open it, go to the Start menu, select Control Panels, select the Java Plug-In and enable Show Java
Console setting.)
- If Treemap is about to reach maximum heap allocation, a message will display to inform you of this
type of error. For more information,
on the types of errors encountered, look into "Logfile.txt".
-
If you are dealing with extremely large trees, you might want to look at this project:
Visualizing a million items, and also look at the results of
the InfoVis Contest when they will be published in the fall of 2003.
|