NetFPGA / P4-NetFPGA-public

P4-NetFPGA wiki
103 stars 31 forks source link

Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded #40

Closed salvatorg closed 4 years ago

salvatorg commented 4 years ago

Whoever has this error when compiling P4 code with the SDNet, might solve it executing:

export _JAVA_OPTIONS="-Xms512m -Xmx8g"

Modify accordingly, the initial and maximum heap sizes: -Xms and -Xmx