usdot-fhwa-OPS / V2X-Hub

V2X Hub is a message handler that acts as a translator and data aggregator/disseminator for infrastructure components of a connected vehicle deployment.
118 stars 67 forks source link

TelematicBridge: There is a memory leak in TelematicBridge plugin #575

Closed dan-du-car closed 3 months ago

dan-du-car commented 6 months ago

Summary

Run a load testing with telematic tool and v2xhub. The load testing is conducted in local by sending 10 different J2735 messages at 10hz to MessageReceiver plugin, and the testing lasts for around 10 hours. The TelematicBridge memory usage increases from around 0% to near 50% of total 15GB memory.

Version

4.3.0 (Current)

Expected Behavior

The TelematicBridge memory usage should not increase indefinitely when it forwards messages to the telematic tool.

Actual Behavior

The TelematicBridge memory usage increases.

Steps to Reproduce the Actual Behavior

Run v2xhub Run telematic tool in local Send sample J2735 messages to messagereceiver plugin at 10hz or higher frequency for a long time (more than 4 hours). Update configuration to make sure telematicbridge is forwarding data generated by v2xhub to telematic tool. Monitor the telematicbridge memory consumption

Related Work

No response