[TouchPad General] HP_TOUCHPAD:
The command free is only a basic snapshot at the moment from meminfo.

To really get to know the details of Memory then this command must be use, in adb shell ( info from Android PIE with MAX settings, Open Gapps Stock

dumpsys meminfo

This is what it will display

root@tenderloin:/ # dumpsys meminfo
Applications Memory Usage (in Kilobytes):
Uptime: 572645 Realtime: 572645

Total PSS by process:
71,356K: system (pid 307)
45,316K: com.google.android.googlequicksearchbox:search (pid 1075)
45,079K: surfaceflinger (pid 189)
34,934K: com.android.systemui (pid 452)
32,870K: com.google.android.gms (pid 907)
31,082K: com.google.android.apps.maps (pid 3236)
30,624K: com.google.android.youtube (pid 3082)
29,708K: com.android.launcher3 (pid 887 / activities)
27,859K: com.google.android.gms.persistent (pid 734)
22,334K: com.android.vending (pid 1810)
20,700K: com.google.android.inputmethod.latin (pid 433)
15,057K: com.google.android.apps.walletnfcrel (pid 3336)
14,052K: com.google.android.calendar (pid 3372)
12,978K: com.google.android.gm (pid 3416)
12,352K: com.google.android.projection.gearhead:shared (pid 2893)
10,866K: com.google.android.googlequicksearchbox:interactor (pid 769)
10,845K: com.google.android.gms.unstable (pid 2667)
10,396K: com.google.android.videos (pid 3026)
9,407K: com.google.android.gms:car (pid 2958)
7,938K: com.google.android.apps.turbo:aab (pid 3305)
6,813K: com.google.android.apps.turbo (pid 3204)
5,886K: com.google.android.apps.nexuslauncher (pid 1004)
5,051K: com.google.process.gservices (pid 751)
5,004K: zygote (pid 162)
4,731K: com.google.process.gapps (pid 2555)
3,951K: com.google.process.gapps (pid 3000)
2,999K: com.android.se (pid 774)
2,349K: webview_zygote (pid 475)
1,763K: audioserver (pid 187)
1,564K: mediaserver (pid 199)
1,165K: media.codec (pid 203)
1,051K: wpa_supplicant (pid 432)
1,037K: /init (pid 1)
828K: netd (pid 161)
827K: keystore (pid 195)
785K: adbd (pid 1185)
783K: media.extractor (pid 197)
737K: android.hardware.audio@2.0-service (pid 172)
635K: android.hardware.wifi@1.0-service (pid 185)
602K: sh (pid 1314)
575K: android.hardware.keymaster@3.0-service (pid 145)
574K: dumpsys (pid 3561)
552K: hwservicemanager (pid 142)
500K: logd (pid 140)
483K: ueventd (pid 110)
471K: wificond (pid 202)
457K: ip6tables-restore (pid 874)
449K: iptables-restore (pid 872)
444K: installd (pid 194)
426K: vold (pid 146)
404K: android.hardware.graphics.composer@2.1-service (pid 178)
389K: media.metrics (pid 198)
283K: storaged (pid 201)
271K: android.hardware.health@2.0-service (pid 179)
235K: healthd (pid 171)
221K: servicemanager (pid 141)
211K: gatekeeperd (pid 206)
209K: android.hardware.configstore@1.1-service (pid 175)
181K: lmkd (pid 188)
158K: drmserver (pid 192)
143K: /init (pid 108)
143K: /init (pid 109)
115K: android.hardware.sensors@1.0-service (pid 182)
108K: ts_srv (pid 215)
95K: android.hardware.graphics.allocator@2.0-service (pid 177)
70K: mediadrmserver (pid 196)
69K: android.hardware.drm@1.0-service (pid 176)
68K: thermalserviced (pid 190)
62K: incidentd (pid 193)
58K: android.hardware.light@2.0-service (pid 180)
52K: android.hardware.cas@1.0-service (pid 174)
51K: android.hardware.memtrack@1.0-service (pid 181)
50K: android.hardware.vibrator@1.0-service (pid 184)
45K: android.hardware.bluetooth@1.0-service (pid 173)
44K: perfprofd (pid 207)
41K: vndservicemanager (pid 143)
39K: android.hardware.usb@1.0-service.basic (pid 183)
38K: android.hidl.allocator@1.0-service (pid 169)
20K: tombstoned (pid 208)

Total PSS by OOM adjustment:
73,013K: Native
45,079K: surfaceflinger (pid 189)
5,004K: zygote (pid 162)
2,349K: webview_zygote (pid 475)
1,763K: audioserver (pid 187)
1,564K: mediaserver (pid 199)
1,165K: media.codec (pid 203)
1,051K: wpa_supplicant (pid 432)
1,037K: /init (pid 1)
828K: netd (pid 161)
827K: keystore (pid 195)
785K: adbd (pid 1185)
783K: media.extractor (pid 197)
737K: android.hardware.audio@2.0-service (pid 172)
635K: android.hardware.wifi@1.0-service (pid 185)
602K: sh (pid 1314)
575K: android.hardware.keymaster@3.0-service (pid 145)
574K: dumpsys (pid 3561)
552K: hwservicemanager (pid 142)
500K: logd (pid 140)
483K: ueventd (pid 110)
471K: wificond (pid 202)
457K: ip6tables-restore (pid 874)
449K: iptables-restore (pid 872)
444K: installd (pid 194)
426K: vold (pid 146)
404K: android.hardware.graphics.composer@2.1-service (pid 178)
389K: media.metrics (pid 198)
283K: storaged (pid 201)
271K: android.hardware.health@2.0-service (pid 179)
235K: healthd (pid 171)
221K: servicemanager (pid 141)
211K: gatekeeperd (pid 206)
209K: android.hardware.configstore@1.1-service (pid 175)
181K: lmkd (pid 188)
158K: drmserver (pid 192)
143K: /init (pid 108)
143K: /init (pid 109)
115K: android.hardware.sensors@1.0-service (pid 182)
108K: ts_srv (pid 215)
95K: android.hardware.graphics.allocator@2.0-service (pid 177)
70K: mediadrmserver (pid 196)
69K: android.hardware.drm@1.0-service (pid 176)
68K: thermalserviced (pid 190)
62K: incidentd (pid 193)
58K: android.hardware.light@2.0-service (pid 180)
52K: android.hardware.cas@1.0-service (pid 174)
51K: android.hardware.memtrack@1.0-service (pid 181)
50K: android.hardware.vibrator@1.0-service (pid 184)
45K: android.hardware.bluetooth@1.0-service (pid 173)
44K: perfprofd (pid 207)
41K: vndservicemanager (pid 143)
39K: android.hardware.usb@1.0-service.basic (pid 183)
38K: android.hidl.allocator@1.0-service (pid 169)
20K: tombstoned (pid 208)
109,289K: Persistent
71,356K: system (pid 307)
34,934K: com.android.systemui (pid 452)
2,999K: com.android.se (pid 774)
29,708K: Foreground
29,708K: com.android.launcher3 (pid 887 / activities)
38,725K: Visible
27,859K: com.google.android.gms.persistent (pid 734)
10,866K: com.google.android.googlequicksearchbox:interactor (pid 769)
26,586K: Perceptible
20,700K: com.google.android.inputmethod.latin (pid 433)
5,886K: com.google.android.apps.nexuslauncher (pid 1004)
45,316K: A Services
45,316K: com.google.android.googlequicksearchbox:search (pid 1075)
5,051K: Previous
5,051K: com.google.process.gservices (pid 751)
225,430K: Cached
32,870K: com.google.android.gms (pid 907)
31,082K: com.google.android.apps.maps (pid 3236)
30,624K: com.google.android.youtube (pid 3082)
22,334K: com.android.vending (pid 1810)
15,057K: com.google.android.apps.walletnfcrel (pid 3336)
14,052K: com.google.android.calendar (pid 3372)
12,978K: com.google.android.gm (pid 3416)
12,352K: com.google.android.projection.gearhead:shared (pid 2893)
10,845K: com.google.android.gms.unstable (pid 2667)
10,396K: com.google.android.videos (pid 3026)
9,407K: com.google.android.gms:car (pid 2958)
7,938K: com.google.android.apps.turbo:aab (pid 3305)
6,813K: com.google.android.apps.turbo (pid 3204)
4,731K: com.google.process.gapps (pid 2555)
3,951K: com.google.process.gapps (pid 3000)

Total PSS by category:
119,739K: .dex mmap
77,854K: .apk mmap
75,049K: Dalvik
72,829K: Native
50,549K: Other mmap
47,298K: .art mmap
31,921K: .so mmap
24,632K: Dalvik Other
18,747K: .oat mmap
10,292K: Unknown
9,828K: Stack
9,408K: .jar mmap
3,632K: Gfx dev
618K: Other dev
388K: Ashmem
334K: .ttf mmap
0K: Cursor
0K: EGL mtrack
0K: GL mtrack
0K: Other mtrack

Total RAM: 974,820K (status normal)
Free RAM: 482,410K ( 225,430K cached pss + 169,672K cached kernel + 87,308K free)
Used RAM: 393,804K ( 327,688K used pss + 66,116K kernel)
Lost RAM: 98,606K
Tuning: 96 (large 128), oom 184,320K, restore limit 61,440K (high-end-gfx)