Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RDKB-59288 Overall Memory usage is increasing continuously #230

Merged
merged 8 commits into from
Mar 28, 2025

Conversation

skarth597
Copy link
Contributor

Reason for change: To free the allocated memory after its usage

Test Procedure:

  1. Flash the build in the issue device
  2. Make sure Levl is enabled
  3. Check for Memory Leak

Priority: P0

Risks: Low

Signed-off-by: Samyuktha Karthikeyan samyuktha_karthikeyan@comcast.com

Reason for change: Data is not freed which creates memory leak
Test Procedure: Debug
Priority: P0
Risks: Low
Signed-off-by: Samyuktha Karthikeyan <samyuktha_karthikeyan@comcast.com>
Reason for change: To free the memory after allocation

Test Procedure: Flash the build in HUB6 and check for increase in the
                memory
Priority: P0

Risks: Low

Signed-off-by: Samyuktha Karthikeyan <samyuktha_karthikeyan@comcast.com>
Reason for change: To free the memory after allocation

Test Procedure: Flash the build in HUB6 and check for increase in the
                memory
Priority: P0

Risks: Low

Signed-off-by: Samyuktha Karthikeyan <samyuktha_karthikeyan@comcast.com>
Reason for change: To free the memory after allocation

Test Procedure: Flash the build in HUB6 and check for increase in the
                memory
Priority: P0

Risks: Low

Signed-off-by: Samyuktha Karthikeyan <samyuktha_karthikeyan@comcast.com>
Reason for change: To free the memory after allocation

Test Procedure: Flash the build in HUB6 and check for increase in the
                memory
Priority: P0

Risks: Low

Signed-off-by: Samyuktha Karthikeyan <samyuktha_karthikeyan@comcast.com>
Reason for change: To free the memory after allocation

Test Procedure: Flash the build in HUB6 and check for increase in the
                memory
Priority: P0

Risks: Low

Signed-off-by: Samyuktha Karthikeyan <samyuktha_karthikeyan@comcast.com>
Reason for change: To free the memory after allocation

Test Procedure: Flash the build in HUB6 and check for increase in the
                memory
Priority: P0

Risks: Low

Signed-off-by: Samyuktha Karthikeyan <samyuktha_karthikeyan@comcast.com>
@@ -810,6 +810,10 @@ void push_radio_temperature_request_to_monitor_queue(wifi_mon_stats_request_stat
data->u.mon_stats_config.data_type = mon_stats_type_radio_temperature;
data->u.mon_stats_config.args.radio_index = radio_index;
push_event_to_monitor_queue(data, wifi_event_monitor_data_collection_config, &route);
if (data != NULL) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can remove the if and keep only free(data);

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed the comment

Copy link
Contributor

@vivianecordeiro-sky vivianecordeiro-sky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please address the comment

Reason for change: To free the allocated memory after its usage

Test Procedure:

1.Flash the build in the issue device
2.Make sure Levl is enabled
3.Check for Memory Leak

Priority: P0

Risks: Low

Signed-off-by: Samyuktha Karthikeyan samyuktha_karthikeyan@comcast.com
@vivianecordeiro-sky vivianecordeiro-sky merged commit c225f24 into rdkcentral:develop Mar 28, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants