You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running into memory issues with this code - the VM ram gets completely exhausted during the table row processing loop.
The Problem:
In extract_listing, when I loop through rows , memory usage spikes until the VM runs out. Each iteration processes a row using extract_info.
The memory leak seems to happen during the WebElement iteration. Each row WebElement might be holding onto more memory than expected, or there's some accumulation I'm not sure.
Any known fixes or alternative approaches I should try?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm running into memory issues with this code - the VM ram gets completely exhausted during the table row processing loop.
The Problem:
In
extract_listing, when I loop throughrows, memory usage spikes until the VM runs out. Each iteration processes a row usingextract_info.Code snippet:
The memory leak seems to happen during the WebElement iteration. Each
rowWebElement might be holding onto more memory than expected, or there's some accumulation I'm not sure.Any known fixes or alternative approaches I should try?
Thanks for any tips!
Beta Was this translation helpful? Give feedback.
All reactions