utkarshkukreti / markup.rs

A blazing fast, type-safe template engine for Rust.
Apache License 2.0
350 stars 14 forks source link

SVG Elements causing a (signal: 9, SIGKILL: kill) at compile time #15

Open LucasStill opened 3 years ago

LucasStill commented 3 years ago

Hello,

While building a rust UI through markup a code signal 9 appears at compile time. This is due to an over usage of the ram during compilation. Is there any way to fix it? It seems to happen when too many elements are present, but works fine on its nodejs based server.

Any idea or solution to counter this issue, and if so would it be possible to improve it?

Thank you very much.

utkarshkukreti commented 3 years ago

Hi @LucasStill. Can you post a complete sample template that uses too much memory for you? Are you able to compile other Rust crates fine on the same machine?