Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Latest commit

 

History

History
6 lines (3 loc) · 802 Bytes

TROUBLESHOOTING.md

File metadata and controls

6 lines (3 loc) · 802 Bytes

java.lang.OutOfMemoryError

Symptom - When running the application, whether in IntelliJ or in Command Line/Bash, I receive the error Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

Solution - The underlying problem is probably related to the default config in gtfs-realtime-validator that sets max heap space to 4GB. This may not be enough for exceptionally large feeds. If the machine has enough available memory, this can be solved by adding the option -Xmx<N>G to the command line. For example, java -Xmx10G -jar target/transit-feed-quality-calculator-1.0.0-SNAPSHOT.jar -directory output -transitFeedsApiKey 123456 will increase heap space to 10GB