This is an stack overflow error maven build ends up with certain number of times. Adding the following maven option seems to fix it fine.
$ export MAVEN_OPTS="-Xmx512m -Xms128m -Xss2m"
The above line will only be valid for the particular console session. Another good place to add this line is the bashrc file, this will keep the options valid permanently. Open your bashrc file and add the above line to it.
$ vi ~/.bashrc Now Add this to it: export MAVEN_OPTS="-Xmx512m -Xms128m -Xss2m"
Save and exit. Then source the bashrc to see change effects.
$ source ~/.bashrc
Thats all for this post. Have fun.
Yash Sharma is a Big Data & Machine Learning Engineer, A newbie OpenSource contributor, Plays guitar and enjoys teaching as part time hobby.
Talk to Yash about Distributed Systems and Data platform designs.