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

opencvjs is working in dev mode with react but it is not built! #54

Open
ozkalt opened this issue Sep 10, 2018 · 0 comments
Open

opencvjs is working in dev mode with react but it is not built! #54

ozkalt opened this issue Sep 10, 2018 · 0 comments

Comments

@ozkalt
Copy link

ozkalt commented Sep 10, 2018

I installed opencv.js by following this link: https://www.ics.uci.edu/~sysarch/projects/OpenCV.html

I want to use CLAHE method in my project. 1.2.1 version is working with CLAHE and I can compile it in development mode. When I build it, I get this error:

<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0x224123da5879 <JSObject>
    1: push(this=0xe1c1bcbc51 <JSArray[114467]>)
    2: visit [0x68eab6022d1 <undefined>:~5587] [pc=0x275c3848a5f9](this=0x5b136002201 <TreeWalker map = 0x2751e0dfa5a1>,node=0x108cb5047831 <AST_SymbolRef map = 0xb614eea3a99>,descend=0x11580d1bc3b1 <JSFunction noop (sfi = 0x7cc5ad3f959)>)
    3: _walk [0x68eab6022d1 <undefined>:~479] [pc=0x275c381e4a4b](this=0x108cb5047831 <AST_SymbolRef map = 0x...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [node]
 2: 0x8c21ec [node]
 3: v8::Utils::ReportOOMFailure(char const*, bool) [node]
 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node]
 5: v8::internal::Factory::NewUninitializedFixedArray(int) [node]
 6: 0xd4b26f [node]
 7: 0xd5f3a5 [node]
 8: v8::internal::JSObject::AddDataElement(v8::internal::Handle<v8::internal::JSObject>, unsigned int, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::internal::Object::ShouldThrow) [node]
 9: v8::internal::Object::AddDataProperty(v8::internal::LookupIterator*, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::internal::Object::ShouldThrow, v8::internal::Object::StoreFromKeyed) [node]
10: v8::internal::Object::SetProperty(v8::internal::LookupIterator*, v8::internal::Handle<v8::internal::Object>, v8::internal::LanguageMode, v8::internal::Object::StoreFromKeyed) [node]
11: v8::internal::Runtime_SetProperty(int, v8::internal::Object**, v8::internal::Isolate*) [node]
12: 0x275c37c842fd
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Older version does not allow to work with CLAHE. How can I solve this problem?

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

1 participant