driver_t = webdriver.Chrome()driver_t.implicitly_wait(5)driver_t.get(Company intranet)elem = driver_t.find_element_by_id("j_username")elem.clear()elem.send_keys(".....")elem = driver_t.find_element_by_id("j_password")elem.clear()elem.send_keys(".....")driver_t.find_element_by_id("frm-ok").click()driver_t.maximize_window()page_counter = 0 ***#10 items in 1 page, once TURN PAGE around 189, ERROR HAPPEN***while True: els = driver.find_elements_by_xpath("https://table<
id="flexme1">/tbody/tr") cnt = len(els) if no cnt: print(time.asctime(), "This page has no orders.") break page_counter = page_counter + 1 print(time.asctime(), "Page Counter: ", page_counter) oi_l = craw.fetch_order_info(driver) for i in range(1, cnt + 1): last_id, od_l = craw.fetch_order_detail(driver, last_id, i) page_down = "https://form<
name="frmList">/div<5>/div<2>/ul/li<9>/a" elem = driver.find_element_by_xpath(page_down) class_name = elem.get_attribute("class") if "disable" in class_name: print(time.asctime(), "Task finished.") rest elem.click()When the outter loop run about 150-200 times, chrome crashed.How resolve this problem?Somewhere claimed that chrome maintain a deep history list, is the answer?


*

*

This error...

You are watching: Sbox_fatal_memory_exceeded

*

...implies the there is a huge memory consumption concern in Chrome that reason tabs come crash with SBOX_FATAL_MEMORY_EXCEEDED error.

Deep Dive

As per the post SBOX deadly MEMORY surpassed constantly and also chrome is using huge amounts of storage this issue of Chrome consuming large memory is it was observed with all of the following instances:

Google Chrome version 80.0.3987.132 (Official Build) (64-bit)Google Chrome variation 82.0.4083.0 (Official Build) (64-bit)Google Chrome version 82.0.4085.4 canary (64-bit)

mostly through in windows-10 systems as soon as ESET NOD32 Antivirus 13.0.24.0 is installed.

Snapshot of Chrome high memory consumption:

*

Snapshot the high memory intake by Chrome:

*

As per the write-up Eset consumes major memory w/ Chrome v in ESET defense Forum:

Major issue with Eset NOD AV 13.0.24.0 and 13.1.16.0 and also Chrome: since Chrome update to 82.0.4083 (and later 82.0.4085.4 gift the latest) both top top Canary and also Dev channels, there"s a huge memory consumption worry in Chrome (>8GB) on (almost) all sites (especially gmail) that reason tabs come crash with SBOX_FATAL_MEMORY_EXCEEDED error. Remove NOD resolves the issue, reinstalling it back recreates it and also so forth. There"s no such concern in Chrome Canary and Dev 82.0.4077.0.

Solution

As per the ESET support post KB3415 that most efficient solution would be to enable pre-release updates in ESET Windows house products. Steps:

Enable pre-release to update to solve an issue with your product.Switch back to a continual update.

See more: Batsu To Maru To Tsumi To By Radwimps Batsu To Maru To Tsumi To Maru To Tsumi To

tl; dr

We have debated this problem at size within the discussion ESET causing too much renderer memory usage and the concern had been eliminated from the queue.