0

screenshot for problem screenshot for vm option

I am trying to run my program but it's throwing exception (as in screenshot), I searched for it and found it happen's because programs has too many recursive calls and I should increase stack size by setting Xss to be 1mb through,

Help -> edit custom vm option when i open it it show a message that vm option not created and i should creat by press on ok so it created but i can't find Xss parameter as screenshot show

I tried changing Xms and Xmx values in VMOptions

Note : i run this this algorithm on graph that has more than 800000 node so the recursion is finite but happens too much.

Community
  • 1
  • 1
Karim Ata
  • 75
  • 9

1 Answers1

1

Add, -Xss4096k option in vmoption file,This will increase stack size to 4mb. Save it and restart ide. For more information check, How to increase the Java stack size?

dhanu10896
  • 315
  • 2
  • 16
  • np! if above approach does not solve issue, do check with your course community, Coursera communities are very active :) – dhanu10896 Feb 03 '19 at 11:25