Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Selenium/Geckodriver consumes all memory #73

Closed
jploudre opened this issue Jul 2, 2020 · 2 comments
Closed

Selenium/Geckodriver consumes all memory #73

jploudre opened this issue Jul 2, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@jploudre
Copy link

jploudre commented Jul 2, 2020

Mostly wanted to say Thanks! I'm not sure I can troubleshoot it.

Altair_saver is much faster (~6x for me) than doing geckodriver on charts one at a time.

On Linux with Firefox, altair_saver with selenium/geckodriver steadily consumes memory while running through iterations (done with multiprocessing) and crashes. Switching to node with method eliminates memory consumption.

@jakevdp
Copy link
Member

jakevdp commented Jul 2, 2020

Thanks for the report – there's probably some selenium cleanup or garbage collecting that is missing from the package.

@jakevdp jakevdp added the bug Something isn't working label Jul 2, 2020
@joelostblom
Copy link
Member

Since Altair 5.2, the functionality of Altair Saver is now available in Altair via the vl-convert package. Most of the functionality has been available since 5.0, and the main addition in 5.2 was PDF export. See the docs on how to save charts for more details.

We are going to archive this repo, so I'm closing all the open issues and PRs before doing so. Try out the new options for saving charts mentioned above and if you run into issues, please open an issue directly in the altair or vl-convert repo.

@joelostblom joelostblom closed this as not planned Won't fix, can't repro, duplicate, stale Mar 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants