Java-OCA-OCPP icon indicating copy to clipboard operation
Java-OCA-OCPP copied to clipboard

Java out of memory error at WebsocketImpl decodeHandshake

Open vikram-gopu opened this issue 5 years ago • 2 comments

Java out of memory error at WebsocketImpl decodeHandshake After running the ocpp backend for 8 days, our websocket (ws only) backend docker running on a Virtual Machine the connection can be made over http which has resources of 1 vCPU and 2.7 GB of storage where EV Charging Point are connecting to there was error Java out of memory error. The version of the websocket library is provided below. There is a screen shot of the Error which has the error stack trace.

Was this issue already addressed before on the 1.4.0 version of websockets library I am using? Should I need to update the library to latest stable release?

image (1)

vikram-gopu avatar Oct 26 '20 13:10 vikram-gopu

@TVolden thanks!

vikram-gopu avatar Oct 26 '20 13:10 vikram-gopu

Hi @vikram-gopu,

Sorry I haven't responded to your issue. I'm quite busy at school.

Have you made more progress? Upgrading the version of java_websocket sounds like a good approach.

TVolden avatar Jan 19 '21 08:01 TVolden