-
Notifications
You must be signed in to change notification settings - Fork 25
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
Cannot load JavaScript file over 130KB #5
Comments
Looks like the port process is still processing data when the request to create a context arrives. Can you please attach your Thank you. |
Thank you! |
Ok, the limit is 128kb as defined by The quick-fix is to generate an error for files larger than 128kb (you can, however, add multiple 128kb files until you reach another limit). Something that would solve this is to just send paths to the C-process and read the files from there. I've been considering this for different reasons for a while. Can you work around this in the meantime (split file into several smaller files)? |
@strange Thank you for your support. Because I compile JavaScript from Node modules, it's hard to determine size of each scripts. I'd wanted to try React.js server side rendering in Phoenix app with erlang_v8, but I think I need to consider how to do that again. Or if we could pass a file path instead of its content to V8 process and let it read, perhaps.. not sure. |
Give me a little time and I'll benchmark some stuff.
…On Sat, 4 Mar 2017 at 07:44, piglovesyou ***@***.***> wrote:
@strange <https://github.com/strange> Thank you for your support. Because
I compile JavaScript from Node modules, it's hard to determine size of each
scripts. I'd wanted to try React.js server side rendering in Phoenix app
with erlang_v8, but I think I need to consider how to do that again.
Thanks in advance.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADvSQrcUmlULgOk6ELX3IvDKZOm6KG5ks5riQhigaJpZM4ML_Po>
.
|
make tests
finishes without error. But when I put meaningless lines intest/js/variables.js
to make its size larger, the test was failed with the following log.Is there any way to control the limitation?
The text was updated successfully, but these errors were encountered: