[nodejs] clarification on leaks during v8 context creation

2017-11-29 Thread madana gopal
Hi Team, We are trying to embed v8 within c++ application. Through the application, v8 context is loaded for every new javascript. And, context is destroyed , on the javascript exit by the user. In this way new context is created and destroyed for every javascript usage. In this way, it looks h

[nodejs] Releasing memory of context created with node::makeContext()

2017-12-14 Thread madana gopal
Hi Team, We are creating a V8 context frequently calling node::makeContext() from c++ code. But it seen, below objects created from native context (in deps/v8/src/context.cc) are not getting cleared, so memory is increasing continuously, on call to makeContext(): 1, template instatiation cache

[nodejs] Transferring a JSON have values of different types

2019-03-28 Thread madana gopal
Hi Team, We are trying to setup a http client and server (using express). We have to send single post request with data having two parameters (param1 of type string and param2 of type base64 data. What is the way to send this?. Please share if we have snippet for this. Thanks. Regards, Madan

[nodejs] Passing parameters of multiple types in http post

2019-03-28 Thread madana gopal
Hi, We have to send JSON data with two params string and base64 data as values. Please clarify the way to send from http.request() call in nodejs app. Eg: {"name" : "xx" , "image" : } Thanks. Regards, Madan -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiy

[nodejs] Reducing libnode.so

2019-04-04 Thread madana gopal
Hi, We are using node version 8.5.1 in our embedded devices. The size of libnode.so is coming around 9.7 MB. Is it possible to get it reduced further?. It is seen most of size is coming from v8 coming with node. Please share some suggestions towards size reduction. We have changed optimizatio

[nodejs] pause button not working from chrome inspector

2019-04-09 Thread madana gopal
Hi, I am trying to pause execution of nodejs (8.5.1) application (i.e c++ app using embedded node platform) from chrome (version 73) inspector. It is seen, after pause button is pressed, no notification is sent from nodejs inspector to chrome. i.e from code, below Runtime_Interrupt is not invo

[nodejs] Re: pause button not working from chrome inspector

2019-04-10 Thread madana gopal
Please help in debugging this issue, where HandleInterrupts() from Runtime_StackGuard not getting invoked. -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List

[nodejs] Re: pause button not working from chrome inspector

2019-04-10 Thread madana gopal
Hi, I need help in debugging this case. Please help why Runtime_StackGuard or Runtime_Interrupt is not getting called after sometime. This is working with node binary present as part of node package and something wrong with our application. Please clarify the way to debug this. Thanks. Regard

[nodejs] Exit of node process on --inspect (Windows)

2019-05-23 Thread madana gopal
Hi, When we try to pass --inspect to node on windows 10, it is exiting from exection in below line from inspector_io.cc. Node version is 8.15. Please share your thoughts on how to rectify this. bool InspectorIo::Start() { CHECK_EQ(state_, State::kNew); CHECK_EQ(uv_thread_create(&thread_, In

[nodejs] Re: Exit of node process on --inspect (Windows)

2019-06-06 Thread madana gopal
Checked , issue is because of some uv lib in system overriding node uv lib in runtime in our system. Closing this case, as it is not related to node. -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https

[nodejs] Crash during accessing persistent context

2019-06-20 Thread madana gopal
Hi, We are integrating node10.15.0 with one of our c++ app and getting below crash. Please guide on how to debug this. #0 0x7f018b06aa54 in v8::internal::MemoryChunk::heap() const () #1 0x7f018b06cb7a in v8::internal::HeapObject::GetHeap() const () #2 0x7f018b06cb9c in v8::intern