Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 years ago.
Improve this question
i am using this lib the small data process but large data not process it goes to server crash
try catch method also be user but it not catch error
node make report.json file
it lib issue any else
Memory limit? Try launch nodejs with --max-old-space-size=4096 key. It set memory limit to 4GB from default ~1.4GB.
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 days ago.
Improve this question
https not defined
Even after adding
const https=require("https");
The issue ain't getting resolved .
Does http:// work? If it does, the site you are attempting to connect to might not be secure. https:// only works if the site information is encrypted.
You gave const https=require("https");, but I don't know the context of what you are attempting to use it for, so this is hard to answer.
Are you using that variable out of scope?
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
I want to have a function that will overwrite the content of a file in the same directory, on the user's computer that has downloaded the software. The file is an hta file, not an HTML file, so there should be no security issues with the browser.
If your JavaScript code runs on the browser (expect your file is on the server), its impossible to do it due the security reasons, else you can use fs module on Nodejs.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 years ago.
Improve this question
I have created a simple application that only functions to send a message but the function uses the SMS application from the cellphone and not from the application that I made, my application runs fine, but there is a problem with the SMS permissions that make the function blocked or unable to run, can you help?
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 years ago.
Improve this question
Execution failed for task
':app:transformNativeLibsWithMergeJniLibsForDebug'. > More than one
file was found with OS independent path
'lib/arm64-v8a/libc++_shared.so'
This happens when trying to build APK from this file https://github.com/node-on-mobile/node-on-android
Try adding this inside your build.gradle:
android {
...
packagingOptions {
exclude 'lib/arm64-v8a/libc++_shared.so'
}
}
I had the same issue compiling the project, the solution I found is in two steps:
Rename jniLibs/arm64-v8a/libc++_shared.so to jniLibs/arm64-v8a/libc++node_shared.so
Change line 401 of src/main/include/node/common.gypi into
'CLANG_CXX_LIBRARY': 'libc++node',
There is also a repository issue where I'm going to suggest this solution.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
In my web app that allows file uploads, I'm noticing that continued use of several file uploads (each about 5mb to 15mb) causes my browser to crash with what looks to be a "out of memory" issue.
After each file upload by reading into Buffer memory, do I need to do any clean up tasks after?
Also how can I see what's currently inside my browser memory in my web app?
When you upload a file, you have to close(), destroy(), abort(), all the objects that you are using, I had a similar problem 1 month ago, and I fixed it aborting and closing all the objects after file has been uploaded. When you upload a file is necessary do it ! I hope that my answer help you