0

When i run protractor test my app. Webdriver-manager stoped.

java.lang.OutOfMemoryError: Java heap space

how can I config java Xmx with conf.js?

conf.js

localSeleniumStandaloneOpts:{
    jvmArgs:['-Xmx=1024m']
} 

I do this in my conf.js but doesn't work.

weisss
  • 1
  • 2

1 Answers1

0

You can try replacing 1024m with 2048m. Increasing heap memory. If it's gives you issue with 2048m you can decrease it by 1536m.

Pravin Bhapkar
  • 463
  • 1
  • 5
  • 15