-
I am running a stand-alone Node.js process which acts as a debug-adapter. // Basically: java -jar myApp.jar fully.qualified.package.myMainClass
After a while (seconds/minutes/days) my java process receives a SIGKILL signal and dies. Both debug-adapter and the java process run on the same machine as that of Theia. Is there a limitation on how to run java processes on Theia machine? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
@tsiyona just for clarification, are your debug-adapter and java process interacting in any way whatsoever with theia that is on your machine? |
Beta Was this translation helpful? Give feedback.
-
The debug adapter interacts with theia 'debug' extension (backend) via a standard tcp socket. All DAP requests/responses are transferred between theia debug extension and my debug adapter on this socket. The java process does not interact with theia in any way. The java process interacts with the debug adapter on a web-socket. My debug adapter runs inside a docker container in kubernetes. I suspect that this is a memory issue. Linux might be the one terminating my java process in order to free some memory to allow Linux to operate properly. I assigned more memory to my pod and I am monitoring now.
|
Beta Was this translation helpful? Give feedback.
The debug adapter interacts with theia 'debug' extension (backend) via a standard tcp socket. All DAP requests/responses are transferred between theia debug extension and my debug adapter on this socket.
The java process does not interact with theia in any way. The java process interacts with the debug adapter on a web-socket.
My debug adapter runs inside a docker container in kubernetes. I suspect that this is a memory issue. Linux might be the one terminating my java process in order to free some memory to allow Linux to operate properly. I assigned more memory to my pod and I am monitoring now.
I just want to make sure there are no limitations as for how to spawn java processes that…