In case out of memory issue occurred, you may try to allocate larger JVM size by updating Together.ini and eclipse.ini with appropriate -Xmx value.
If this does not work, you could try to use command line to generate report.
Steps:
- go to the installation directory of Borland Together, eg C:\Borland\Together
- run the command from the command prompt: gendoc "[project name]" "[package name]" -recursive -d "[output folder]" -format PDF -data "[workspace location]"
eg.
gendoc "project1" "com.project1.package1" -recursive -d "c:/temp/" -format PDF -data "c:\project".
Regarding the OutOfMemoryError, you may try to update C:\Borland\Together\gendoc.cmd
by replacing
set TG_JAVA_OPTIONS=-XX:MaxPermSize=256m -Xms512m -Xmx1024m
with
set TG_JAVA_OPTIONS=-XX:MaxPermSize=256m -Xms512m -Xmx1024m -XX:SurvivorRatio=2.
Usage of gendoc.cmd:
gendoc.cmd [project name [package name]] [options]
[project name] name of the project.
[package name] name of the package.
[options] are:
-help Display command line options
-d <directory> Destination directory for output files
-template Name of default template or path to template file
-format Documentation format: HTML, TXT, RTF, PDF or XSL-FO
-nodiagrams Do not create diagrams' pictures
-hyperlinks Include hyperlinked files' contents into documentation
-audits Include audits results into documentation
-browser Open documentation in browser