Large charts are best viewed on the screen either in Visustin itself or as PDF. A large monitor gives you the best view into complex flow charts. Visustin has no built-in size limitation, but various technical reasons may limit what you can do with huge charts. Even when Visustin can produce very large charts, such as 50x50 sheets or 50000x50000 pixels, printing or saving may turn impractical. Saving as PDF usually works out best.
Good news to veteran users! Visustin v6 is significantly more robust than previous versions. Earlier versions were limited to some 100 kB or 3000 lines at a time. This limitation has been lifted.
Quick tip #1. Work large files in parts. Use the Structure tab to create partial flow charts of a file.
Quick tip #2. Press instead of .
Quick tip #3. Save as PDF.
Quick tip #4. Use options to create smaller charts: Shorten code (or Minimal code), Hide comments, Black & White, Font size 7pt, Zoom 100%.
Navigating in large charts is easier with the navigation features Visustin provides.
A smaller physical chart size means increased performance. You have several ways to keep the chart area down.
A large flow chart can consume 500 MB RAM or more. If Visustin appears to work slowly because of the chart size, you may be running low on memory. Try the following tricks:
The Statistics command in the View menu tells you the chart size and the current memory requirements. You can also use the Windows Task Manager to determine the overall memory usage of Visustin. In the Task Manager, enable columns Mem Usage and Peak Mem Usage (in the View menu in Windows XP).
The table below shows the results of a stress test with very large input files. The test was run with the default options: Flow chart, Zoom level 100%, 9pt Arial font, Color chart, Comments as detached labels.
| Source kB | Source lines | Language | Memory | Pixels | Sheets | |
|---|---|---|---|---|---|---|
| 161 kB | 5000 lines | Fortran | 200 MB | 29,000x10,000 | 40x9 | |
| 263 kB | 7300 lines | VB6 | 200 MB | 110,000x12,000 | 140x10 | |
| 557 kB | 12000 lines | VB6 | 650 MB | 112,000x46,000 | 147x39 | |
| 546 kB | 18000 lines | T-SQL | 500 MB | 52,000x56,000 | 65x48 | |
| 1.2 MB | 31000 lines | Visual FoxPro | 1600 MB | 340,000x32,000 | 353x27 |
Memory = Peak Mem Usage after pressing Draw. Sheets = Print-out size on regular paper (A4 portrait).
While these charts display well, it is not practical to print or save them in their entirety.
Do not expect miracles from Windows or your printer. Printing the 65x48 sheet chart failed with a Windows error message about a result exceeding the limits of a 32-bit integer. Saving as PDF worked fine.
On a separate note, it's good programming practice to keep source files at a reasonable size. Besides making flowcharting easier, smaller files are easier to understand and maintain as well.