Clearing buffers and releasing memory #1641
Replies: 2 comments 1 reply
-
you can certainly force to collect garbage and free memory in CPython using >>> import gc
>>> gc.collect() with no harm. you might also want to track down the actual source of the issue, e.g. are you using any native Python libraries, if so, which? CPyExt or CFFI based? I am asking because it is quite unlikely originating in CPython itself (my experience) but more likely in native code related stuff what are the machine specs, and what are the Python interpreter specs btw? you can also just buy more RAM and then hope stuff doesn't break for the duration / uptime required, and you can also install a decent OS when you are updating your machine as well;) |
Beta Was this translation helpful? Give feedback.
-
"help" is arbitrary, hence is "did not". show some numbers. what OS and WAMP client-side / router statistics did you track? post some charts and detailed test setup and testing configuration and conditions .. post a complete reproducing test ..
I guess you mean "windows". install a proper OS, Linux, is what I meant. this is good in general. but it likely isn't the source of your issues anyways. I am guessing, just my experience - this is without knowing specifics.
The issues are very unlikely from any code in AutobahnPython which has been proven in practice under massive load and in production.
why are you asking here? this forum is about specific and directly related questions rgd Autobahn(Python) and WAMP. if you think there is a bug in Autobahn, please post code and a complete & minimal example that reproduces the issue claimed in a new issue. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi! I'm currently having memory overload issues while using autobahn web socket client. The program executes correctly and shuts down with the following error after a few hours:
Is there a way to clear the
payload
or data buffers everytime a data packet is received in the client websockets?Note that we are receiving data every second from a web socket server (Which is based in .net).
Beta Was this translation helpful? Give feedback.
All reactions