Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

project fails to build in release mode while consuming gigabytes of memory #96

Closed
iamcodemaker opened this issue Jan 2, 2020 · 3 comments

Comments

@iamcodemaker
Copy link
Contributor

I'm trying to add typed-html support to a web framework I built and am encountering an issue building a sample app. Everything works fine in debug mode, but release mode builds eat up gigabytes of memory. I'm not sure if this is a problem with typed-html or rustc but it doesn't happen when not using typed-html.

Code is here. Run wasm-pack build or cargo build --release in the crate.typed-html directory to observe the issue. Building with wasm-pack build --dev or cargo build works fine.

@arendjr
Copy link

arendjr commented May 29, 2020

I am thinking of using typed-html for a hobby project, but seeing how it's currently unmaintained, this issue worried me... So I tried to create a release build with rustc 1.43.1 using cargo build --release, but it works for me. It did consume quite a bit of CPU for a few seconds, but it worked alright...

@rofrol
Copy link

rofrol commented Aug 24, 2020

Use git version #117 (comment)

@iamcodemaker
Copy link
Contributor Author

Confirmed, fixed by #117

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants