conveyal / analysis-backend

Server component of Conveyal Analysis
http://conveyal.com/analysis
MIT License
23 stars 12 forks source link

com.google.common.util.concurrent.ExecutionError: java.lang.OutOfMemoryError: GC overhead limit exceeded #248

Closed arunaxp closed 4 years ago

arunaxp commented 4 years ago

Hi @abyrd

I'm getting an error while doing regional analysis com.google.common.util.concurrent.ExecutionError: java.lang.OutOfMemoryError: GC overhead limit exceeded

I have increased heap memory by 8GB, but issue is still same.

abyrd commented 4 years ago

Hi @arunaxp, we typically run analyses on machines with 32GB of memory, and Java heap using 30GB of that. Analysis sometimes does use very large amounts of memory, especially since it will run as many computation threads as you have processors. So on an 8 or 16 core machine the memory requirements shoot up quite fast. I think you will just have to give it more memory or alter the source code to create less threads.