ioc_plugin.py eats 160MB+ RAM off the HEAP on middlewared startup

Description

I've written a tracemalloc function for middlewared/main.py. I'm trying to track an unrelated memory leak, however, what I've noticed while troubleshooting is that ioc_plugin is loading a yaml file entirely into memory and then iterating over every line. Instead of loading it into memory, we need to iterate over the file itself.

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Bug Clerk 
May 18, 2021 at 1:39 PM

Complete

Details

Assignee

Reporter

Labels

Components

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created May 18, 2021 at 1:26 PM
Updated July 6, 2022 at 9:00 PM
Resolved May 20, 2021 at 2:17 PM