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

Won't work when uploading image with bigger file size #39

Open
jituraiyan opened this issue Apr 2, 2018 · 1 comment
Open

Won't work when uploading image with bigger file size #39

jituraiyan opened this issue Apr 2, 2018 · 1 comment

Comments

@jituraiyan
Copy link

jituraiyan commented Apr 2, 2018

24_ap3 5_st1by8_iso800

It woks pretty well for images which is not big size. but when I upload this image (4.32 MB) Then it sjow me this errors:

Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 33554432, (2) compile with -s ALLOW_MEMORY_GROWTH=1 which adjusts the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 ocrad.min.js:12

Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 33554432, (2) compile with -s ALLOW_MEMORY_GROWTH=1 which adjusts the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 ocrad.min.js:12

warning: build with -s DEMANGLE_SUPPORT=1 to link in libcxxabi demangling ocrad.min.js:12

@customautosys
Copy link

customautosys commented Sep 29, 2018

Hi, I am facing a similar problem. How do I make it expand memory? I cannot even open any PDF file at all and I need to read several pages of text each time at least.

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