gjtorikian / selma

Selma selects and matches HTML nodes using CSS rules. Backed by Rust's lol_html parser.
MIT License
56 stars 3 forks source link

add testing for big strings #58

Closed gjtorikian closed 4 months ago

gjtorikian commented 4 months ago

It's possible to provide Selma with a very large piece of HTML, which can exhaust the memory on the host machine. To work around this, you can set an upper limit of how much memory the project can consume while running.