I have never seen Kodi using more the 1 or maybe 2GB of memory, why do you need such high memory allocation?
LG 77G1 • Onkyo TX-RZ70 • Q Acoustics F:2050i C:2000Ci R:2020i A:QI65C • 2x BK Elec XXLS400-DF
Vero V (OSMC) • Nvidia Shield TV Pro (2019) • Sony UBP-X800M2 • Sony PlayStation 5