2Max4 / 2Max4/Network_Analysis

High Memory Usage while longt term testing

Open
#51 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
2
Forks
11
PR merge metrics
No merged PRs in 30d

Description

When performing the network-test memory usage of the end-device highliy encreases. This could be caused by constantly keeping all the data in memory instead of dumping it to csv. Also an idea could be to max-out the file size / entries of an csv file to about 30K entries and then start a new file. (Also starting with a fresh data frame)

![image](https://user-images.githubusercontent.com/44339711/68070113-448d9180-fd6a-11e9-89c6-162e4a80b6ee.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Look for the network-test script that writes CSV data. Identify where data is kept in memory (likely a DataFrame) and not flushed. Check if there's a loop or long-running process that accumulates data. The fix involves limiting entries per CSV file (e.g., 30k) and resetting the DataFrame periodically. Test memory usage before and after changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
performance
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.