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

The Demo doesn't work! #1

Open
alephman opened this issue Jan 30, 2019 · 3 comments
Open

The Demo doesn't work! #1

alephman opened this issue Jan 30, 2019 · 3 comments

Comments

@alephman
Copy link

Hi,
it seems the demo of retrage.github.io/lkl-js doesn't work as I open it in chrome both on mac and windows. It is always in the status of "Preparing... ".

@retrage
Copy link
Owner

retrage commented Jan 30, 2019

It downloads over 50 MB of JavaScript. Check if it is downloaded in the Developer Console.

@retrage
Copy link
Owner

retrage commented Feb 1, 2019

I confirmed the problem on my environment.

@kripken
Copy link

kripken commented Oct 21, 2020

It looks like that 50MB JS file is loaded 16 times (for 16 pthreads). JS takes a lot of work to compile each of those, and 16x that uses many GB of RAM, which causes out of memory on my 16GB machine.

Recompiling to wasm should fix this, as then the wasm is just compiled a single time, and the compiled code is sent to each pthread. (Also the download would be much smaller than 50MB)

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