Export/Save PERT Chart


(Ben Munro) #1

Hi all/@DmitryBarashev

Is there a way to export or save one of the PERT Charts as a PDF/PNG?

Thanks,
Ben


(Dmitry Barashev) #2

Export to PNG exports the chart which is currently open in the application. If you need PERT chart, make its tab contents visible.


(Ben Munro) #3

Thank you @DmitryBarashev!


(Rupert Young) #4

Hello,

When I try this I get a heap space error. How can I resolve that?

WARNING: Export failure. Failed subtask: Export project
java.lang.RuntimeException: Export failure. Failed subtask: Export project
at net.sourceforge.ganttproject.export.ExporterBase$2.run(ExporterBase.java:167)
at org.bardsoftware.impl.eclipsito.JobManagerImpl$GroupWorker.run(JobManagerImpl.java:163)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.OutOfMemoryError: Java heap space

Regards,
Rupert


(Dmitry Barashev) #5

If you’re on Windows, you can add more memory to Java Runtime by editing ganttproject.l4j.ini file in the GanttProject installation folder. Here is the default file contents:

# GanttProject runtime options
-Xms32m
-Xmx512m
-Dsun.java2d.d3d=false
-ea

If you replace -Xmx512m with e.g. -Xmx2048m you will allow for using 4 times more memory when you launch GanttProject next time. It may or may not fix the issue, because it actually depends on how big is the chart.


(Rupert Young) #6

Thanks, that worked.