Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What do I do if I get an out of heap Memory Error: Can I control the amount of heap memory used by the TransXChange Publisher?

0
Posted

What do I do if I get an out of heap Memory Error: Can I control the amount of heap memory used by the TransXChange Publisher?

0

The publisher is a portable application that runs on the Java Virtual Machine (VM). A Java VM can be configured to run in a certain amount of heap memory. If this is exceeded an “out of memory” error will occur. By default the Java VM heap memory limit is set to a sensible default appropriate for most timetables. However, for large TransXChange documents you may need to increase this allocation. You can do this simply by editing the setting in the publish.bat file (for the command line version), or the TransXChangePublisher.l4j.ini file (for the GUI version). These files can be found in the base directory where you unpacked the publisher distribution. In both files you need to change the setting that begins -Xmx. For example, to change the heap from 128MB to 1024MB, edit the relevant file and change -Xmx128m to -Xmx1024m.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123