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

Large payload file problem #247

Open
denyzkoo opened this issue Mar 12, 2024 · 2 comments
Open

Large payload file problem #247

denyzkoo opened this issue Mar 12, 2024 · 2 comments

Comments

@denyzkoo
Copy link

Hi

If i use 30 commands payload it works as charm. Im using raspberry_pi_pico.

But if I use payload with 500 lines it execute only frist line and dont enter other 499 comands.

Is there any limitations?

Actualy i need to use about 50 000 lines payload maybe more. Size of payload i need to use is 845 kB.

Thank you

@dbisu
Copy link
Owner

dbisu commented Mar 13, 2024

There isn't a direct limit. Please post debug serial logs. Instructions here.

@dbisu
Copy link
Owner

dbisu commented Dec 25, 2024

For performance reasons, the code loads the whole file into memory. It is possible this is causing the system to run out of memory on larger scripts. I'll look at the trade-off of having the whole script in RAM versus loading one line at a time.

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

2 participants