so, in summary,
curaga solved the bug for the next TC version, using awk '{printf("%d\n", $2/3)}'`
rich explained the logic of empiric/statistic chose of average file size = 3K bytes of system ("/") in 90% RAM
for normal boot option (like without user providing a boot code of "noembed").
This also means that it is expected to use the rest 10% RAM for zram_swap in memory, or else that 10% RAM is wasted.
FYI: If I would be nasty, I could ask about the second branch from /init, when the user provides the boot code of "noembed".
So here again we have a tmp file-system mounted and then chroot into it.
But in this case neglecting the nr_inode parameter for the mount command. so using by default 1/2 ratio.
(how convenient, the final result is another number of inodes, for the same core.gz in the same RAM size).
I do not use this second (noembed) branch, so is no point to complicate the code. Plus very few appl nowadays need it.