Error RSelenium - Selenium message: Java heap space

2

Hello, I'm trying to scrape the link using RSelenium because the page only generates the information in the html when it is loaded in the browser.

Well when this happens I do not know how to do otherwise than with RSelenium. But when the loop executes about 250 times, it quits and the message below appears:

  

Selenium message: Java heap space

     

Error: Summary: UnknownError Detail: An unknown server-side error   occurred while processing the command. Further Details: run   errorDetails method

  

section information

     

R version 3.4.0 (2017-04-21) Platform: x86_64-apple-darwin15.6.0   (64-bit) Running under: macOS Sierra 10.12.6

     

Matrix products: default BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib   LAPACK:   /Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libRlapack.dylib

     

locale: [1]   

     

attached base packages: [1] stats graphics grDevices utils
  datasets methods base

     

other attached packages: [1] wdman_0.2.2 magrittr_1.5
  rvest_0.3.2 xml2_1.1.1 [5] httr_1.3.1 XML_3.98-1.9
  RSelenium_1.7.1

    
asked by anonymous 27.09.2017 / 19:23

1 answer

2

Problems related to heap are linked to memory, in this case the memory that java allocated, when trying to find the command to compile with more memory, or if this is not compiled try to find a way for your program to use more memory than already supplied.

    
27.09.2017 / 20:14