/tool fetch with space restrictions?

I’m using “/tool fetch” to download specific firmware version on the router through a script, on a “hAP lite”
But I’m getting troubles now with version 6.42.12 trying to download firmware file 6.43.13. Failing because of no space left on disk.
If I download 6.43.13 (long-term) with “/system package update download”, it downloads without issues. Remaining 0.3Mb free space left on disk.

It could be that “/tool fetch” can’t use all free disk space to store a downloaded file? Is there something to avoid that?

On devices with small NANDs (16 MB), /system package update download downloads files to RAM disk.

Using “/tool fetch” or “/system package update download” put it on disk (NAND), I can see on “/system resources” dropping down “Free HDD Space” and not “Free Memory”.