Hi,
We seem to understand that the command should be the following:
"--print-memory-usage"
And the following description is provided under the GCC linker manual:
"Print used size, total size and used size of memory regions created with the
Section 3.7 [MEMORY], page 71 command. This is useful on embedded targets
to have a quick view of amount of free memory."
There is also another command that might proof useful for your application:

This information is available under the following path:
"C:/nxp/S32DS.3.5/S32DS/build_tools/gcc_v9.2/gcc-9.2-arm32-eabi/arm-none-eabi/share/docs/pdf/ld.pdf"
Where it can vary depending on the versions being used.
We see that this is all the information available from our side, we do apologize if they not proof useful.
As for the specific topic, it seems that this might be a generic C compiler/linker question, not specific to S32DS, hence you might also get useful feedback from the eclipse forum or any C compiler/linker forums. Again, we do apologize for the inconvenience this may cause.
Please, let us know.