question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Question]: Payload size limit?

See original GitHub issue

First of all, great project and great work!

Now the question, of curiosity, if the payload (e.g., bundled script) size is greater than 0xFFFFFFFF bytes, would bytenode still work? I’m asking because kPayloadLengthOffset is just uint32.

Thank you.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

1reaction
OsamaAbbascommented, Apr 8, 2022

This question crossed my mind before. I don’t believe this limitation applies exclusively with bytenode, because the same logic and limitation still will be used with any script that v8 deals with (i.e. all javascript files). I think I tried before to generate a huge javascript file and run it with and without bytenode, but I don’t remember the results though 😃 . I might try the same experiment again and get back to this issue.

Thanks for your interest and your kind words.

0reactions
overflowzcommented, Apr 8, 2022

Thank you for the research! Yeah, the performance is just too much haha, guess it does not need to produce bytecodes (including optimizations, etc) anymore and that could be the thing ;p

EDIT: Thank you, this is very useful!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deep Dive: Lambda's Response Payload Size Limit (1/2)
The limit in question is listed on the Lambda quotas page as “Invocation payload (request and response)” and says it's 6 MB for...
Read more >
Is there a limit in size for the payload which can be transmitted ...
Question is: Is there a limit in size for the payload which can be transmitted for each request? Or a limit on the...
Read more >
REST payload max size? - Stack Overflow
Two megabytes for Apache itself (you can change it with LimitRequestBody). These implementation limits are usually just the default ...
Read more >
Response payload size limitation - MuleSoft Help Center
Hi Mule Gurus,. We are developing Mule APIs on 4.2.2. they use HTTPS. We are expecting a huge response payloads more than 10MB...
Read more >
Api Gateway Payload size limit increase | AWS re:Post
Questions/; Api Gateway Payload size limit increase/ ... Hi,. Right now there is a hard limit on the API Gateway for a request...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found