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

it malloc too much memory that can't work on the embedded device. #140

Open
clorymmk opened this issue Jul 3, 2020 · 2 comments
Open

it malloc too much memory that can't work on the embedded device. #140

clorymmk opened this issue Jul 3, 2020 · 2 comments

Comments

@clorymmk
Copy link

clorymmk commented Jul 3, 2020

it malloc too much memmory while scan total_num_clusters that i test an 16G sdcard on the embedded device. It worked on a 128Mb sdcard, malloc a small amount of memmory at a time maybe better!

@pali
Copy link
Member

pali commented Apr 25, 2021

There is patch from Nokia #56 which implements custom memory allocator which should reduce memory size. Also there is pull request #2 which uses mmap instead of copying data into allocated memory.

@pali
Copy link
Member

pali commented Jun 14, 2023

There is also -w option which could help.

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