add --trace-malloc arg to middlewared
Description
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
Details
Assignee
Caleb
CalebReporter
Caleb
CalebLabels
Components
Fix versions
Affects versions
Priority
More fields
Time tracking
More fields
Time trackingKatalon Platform
Linked Test Cases, Katalon Defect Results, Katalon Studio Test Results
Katalon Platform
Linked Test Cases, Katalon Defect Results, Katalon Studio Test Results
Created May 19, 2021 at 7:00 PM
Updated July 6, 2022 at 8:59 PM
Resolved June 4, 2021 at 8:24 PM
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.