Page tree
Skip to end of metadata
Go to start of metadata

Last updated: Aug 20, 2018 12:52

Problem

Receiving Java exception: "Caused by: org.openqa.selenium.WebDriverException: Java heap spaceduring automated test execution with Java.

Solution

The error means that your system / IDE had consumed more memory than was allocated, for your own Java work space:

ECLIPSE

This link reference how to check your JAVA heap size, and how to increase it.

By using this Eclipse article, it will resolve the problem with your local computer and allocating memory to the JAVA service for Eclipse.
http://wiki.eclipse.org/FAQ_How_do_I_increase_the_permgen_size_available_to_Eclipse%3F

http://wiki.eclipse.org/FAQ_How_do_I_increase_the_heap_size_available_to_Eclipse%3F