memory leak
LanYunDev opened this issue · 0 comments
LanYunDev commented
The leaks tool gives you the following:
Process: fig_desktop [1066]
Path: /Applications/Fig.app/Contents/MacOS/fig_desktop
Load Address: 0x10023c000
Identifier: com.mschrage.fig
Version: 2.17.1 (20240129.210957)
Code Type: ARM64
Platform: macOS
Parent Process: ??? [1]
Date/Time: 2024-03-08 22:24:09.630 +0800
Launch Time: 2024-03-06 14:27:09.195 +0800
OS Version: macOS 14.3.1 (23D60)
Report Version: 7
Analysis Tool: /usr/bin/leaks
Physical footprint: 1.5G
Physical footprint (peak): 1.5G
Idle exit: untracked
----
leaks Report Version: 4.0
Process 1066: 10087308 nodes malloced for 1376073 KB
Process 1066: 9230083 leaks for 1278863920 total leaked bytes.
9230083 (1220M) << TOTAL >>
189891 (26.0M) ROOT LEAK: <CFArray 0x139087e00> [3072] item count: 331
82323 (11.3M) <NSDictionary 0x600043be5500> [224] item count: 9
82320 (11.3M) unaligned +151: --> <CFArray 0x105162000> [3072] item count: 337
23197 (3.13M) <NSDictionary 0x6000a3cd7c60> [224] item count: 10
23194 (3.13M) unaligned +63: --> <CFArray 0x138167c00> [3072] item count: 338
2225 (311K) <NSDictionary 0x6000afc0aae0> [224] item count: 9
2222 (311K) unaligned +151: --> <CFArray 0x13c967c00> [4096] item count: 471
928 (132K) <NSDictionary 0x60040fb32220> [224] item count: 9
925 (132K) <NSNumber 0x60000ca137c0> [32] type Float64 value: 0.01275140885263681
924 (132K) unaligned +10: --> <CFArray 0x13b8d1000> [3072] item count: 352
12 (800 bytes) <NSDictionary 0x6000dfc689a0> [224] item count: 9
1 (128 bytes) <NSDictionary 0x60003efc6880> [128] item count: 4
1 (48 bytes) <CFString 0x6000014621f0> [48] length: 15 "kCGWindowBounds"
1 (48 bytes) <CFString 0x600001462b20> [48] length: 19 "CursorUIViewService"
1 (48 bytes) <CFString 0x600001462be0> [48] length: 18 "kCGWindowOwnerName"
1 (48 bytes) <CFString 0x600001462ca0> [48] length: 17 "kCGWindowOwnerPID"
1 (48 bytes) <CFString 0x600001462cd0> [48] length: 18 "kCGWindowStoreType"
1 (48 bytes) <CFString 0x600001462d30> [48] length: 20 "kCGWindowMemoryUsage"
1 (48 bytes) <CFString 0x6000014631b0> [48] length: 21 "kCGWindowSharingState"
1 (48 bytes) <CFString 0x600001463210> [48] length: 15 "kCGWindowNumber"
1 (32 bytes) <CFString 0x6000009ab1e0> [32] length: 14 "kCGWindowAlpha"
1 (32 bytes) _list --> <CFString 0x6000009aae40> [32] length: 14 "kCGWindowLayer"
4 (448 bytes) <NSDictionary 0x6000e3c35dc0> [224] item count: 10
1 (128 bytes) <NSDictionary 0x600042ccdb80> [128] item count: 4
1 (64 bytes) <CFString 0x6000017eba80> [64] length: 46 "Wallpaper-1E9217A7-CBA1-4058-87CD-D0C9FD158000"
1 (32 bytes) <CFString 0x6000009ab5a0> [32] length: 3 Unicode: "程序坞"
4 (448 bytes) <NSDictionary 0x6000e3c38460> [224] item count: 10
1 (128 bytes) <NSDictionary 0x600042ccba80> [128] item count: 4
1 (64 bytes) <CFString 0x6000017ebd80> [64] length: 46 "Wallpaper-951B8CA1-CDC2-4A4B-AE51-68446E57F6AB"
1 (32 bytes) <CFString 0x6000009abfe0> [32] length: 3 Unicode: "程序坞"
4 (448 bytes) <NSDictionary 0x6000e3c38540> [224] item count: 10
1 (128 bytes) <NSDictionary 0x600042ccbb00> [128] item count: 4
1 (64 bytes) <CFString 0x6000017ebfc0> [64] length: 46 "Wallpaper-D373D448-9F64-4FA2-A08B-8B57D0A869C9"
1 (32 bytes) <CFString 0x60000096c900> [32] length: 3 Unicode: "程序坞"
4 (448 bytes) <NSDictionary 0x6000e3c38700> [224] item count: 10
1 (128 bytes) <NSDictionary 0x600042ccbc00> [128] item count: 4
1 (64 bytes) <CFString 0x6000017eb140> [64] length: 46 "Wallpaper-543500DD-6153-48BE-8034-93FC5CABF693"
1 (32 bytes) <CFString 0x60000096c920> [32] length: 3 Unicode: "程序坞"
4 (448 bytes) <NSDictionary 0x6000e3c389a0> [224] item count: 11
1 (128 bytes) <NSDictionary 0x600042ccbd80> [128] item count: 4
1 (64 bytes) <CFString 0x6000017ebbc0> [64] length: 46 "Wallpaper-7D5C2D33-365D-4D0B-83A6-28A565C9A52F"
1 (32 bytes) <CFString 0x600000a88000> [32] length: 3 Unicode: "程序坞"
4 (448 bytes) <NSDictionary 0x6000e3c396c0> [224] item count: 11
1 (128 bytes) <NSDictionary 0x600042cd4500> [128] item count: 4
1 (64 bytes) <CFString 0x6000017ebb00> [64] length: 46 "Wallpaper-357544B8-149E-46A1-8362-70056ECB0261"
1 (32 bytes) <CFString 0x600000a88160> [32] length: 3 Unicode: "程序坞"
4 (416 bytes) <NSDictionary 0x6000e3c2a840> [224] item count: 9
1 (128 bytes) <NSDictionary 0x600042cc0f00> [128] item count: 4
1 (32 bytes) <CFString 0x600000a063a0> [32] length: 2 Unicode: "访达"
1 (32 bytes) <NSNumber 0x600000a063c0> [32] type Float64 value: 0.1000000014901161
4 (416 bytes) <NSDictionary 0x6000e3c324c0> [224] item count: 10
1 (128 bytes) <NSDictionary 0x600042cc8400> [128] item count: 4
1 (32 bytes) <CFString 0x6000009ab8e0> [32] length: 13 "BetterDisplay"
1 (32 bytes) <NSNumber 0x6000009ab900> [32] type Float64 value: 0.006000000052154064
4 (416 bytes) <NSDictionary 0x6000e3c34000> [224] item count: 10
1 (128 bytes) <NSDictionary 0x600042ccca80> [128] item count: 4
1 (32 bytes) <CFString 0x6000009ab3e0> [32] length: 13 "kCGWindowName"
1 (32 bytes) <CFString 0x6000009ab400> [32] length: 13 "Window Server"
4 (416 bytes) <NSDictionary 0x6000e3c348c0> [224] item count: 10
1 (128 bytes) <NSDictionary 0x600042cccf80> [128] item count: 4
1 (32 bytes) <CFString 0x6000009ab440> [32] length: 13 "Google Chrome"
1 (32 bytes) <NSNumber 0x6000009ab460> [32] type Float64 value: 0.3856614530086517
3 (400 bytes) <NSDictionary 0x6000dfc68c40> [224] item count: 9
1 (128 bytes) <NSDictionary 0x60003efc6900> [128] item count: 4
1 (48 bytes) <CFString 0x600001461c50> [48] length: 15 "Surge Dashboard"
More content has been ignored