Is it possible to set a specific ram size in KB for the Apple IIgs?

I realise the following will work;

>mame64 apple2gsr1 -ramsize 4M

and so will;

>mame64 apple2gsr1 -ramsize 4096K

But I would like to add a 4MB RAM card to a ROM01 IIgs which has 256K onboard by default.
So I believe that works out as 4096K + 256K = 4352K

But the following isn't accepted by MAME;

>mame64 apple2gsr1 -ramsize 4352K

or am I confused?

Cheers