add --trace-malloc arg to middlewared

Description

Trying to track this down has proven to be....difficult to say the least. On my local system I've written a module to trace memory allocations by the middlewared process.

While there are many caveats with this, it allowed me to spot some low-hanging fruit for extremely memory hungry methods. 1 of which was a 2 line trivial fix that saved 160MB+ of RAM allocation.

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

Bug Clerk May 28, 2021 at 7:00 PM

Bug Clerk May 19, 2021 at 7:04 PM

Complete
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Affects versions

Priority

More fields

Katalon Platform

Created May 19, 2021 at 7:00 PM
Updated July 6, 2022 at 8:59 PM
Resolved June 4, 2021 at 8:24 PM