StackOverflowError - How to set heap size for sbt/scala program?

0 votes
asked Apr 28, 2019 by Hitesh Garg (799 points)  

I am having a issue while running my scala program using sbt, sometimes it gets compiled but sometimes it gives StackOverFlow error during compilation phase.
I am new to scala and I have already tried the params option and -mem2000 but it seems to be not working for me.

Please log in or register to answer this question.