Openfl component change
Add memory leak logs for aggregator and collaborator, if log_memory_usage flag can be set for ubuntu.
Changes -
aggregator.py - Function get_memory_usage added , which collects process as well as system log.
collaborator.py - Function get_memory_usage added , which collects process as well as system log.
Output -
agg_mem_details.json - details of aggregator in json format
_mem_details.json - details of aggregator in json format
Reviewed PR - https://github.com/securefederatedai/openfl/pull/1155 (Had to close as some unsigned commits were there)
Openfl component change Add memory leak logs for aggregator and collaborator, if log_memory_usage flag can be set for ubuntu.
Changes -
Structure - { "round_number": 0, "metric_origin": "collaborator1", "process_memory": 1155.19, "virtual_memory": { }, "swap_memory": { } }
Test changes