The publisher.ini
file located in the Publisher release folder includes settings for memory allocation which can decrease the time it takes to publish large models.
To adjust the memory allocation, open the publisher.ini
file and locate the following items:
-Xms256m
-Xmx1024m
The Xms
value does not need to me modified. The Xmx1024m
value can be modified to increase the memory allocated to the publisher application. Increasing the allocated memory improves the performance.
Important Do not allocate more memory to the Publisher than the hardware capability of the system running the Publisher. The theoretical limit for maximum pool size on a 32bit system is 4GB and for a 64bit it is 2^64.
In order to determine the total available Installed RAM on your PC select Windows Key ->
Type About ->
select About you PC
.
By modifying the -Xmx1024m
value you can decrease the amount of time it takes to publish larger models.
Xmx2g
Is recommended for smaller models with only a few diagrams and a couple hundred elements. Xmx4g
Is recommended for models with a 10's of diagrams and a few thousand elements. Xmx8g
Is recommended for large models with hundreds of diagrams and thousands of elements.