As all gurus have put, by now you must have learned how to convery hex value to decimal.
Another command for that
printf "%d\n" 0x4000000
Now to the oracle part. If your server is running only that, and you need not woorl abt anything else, I would try to max memory setting for shmmax. I will also try setting shmmax to that of oracle sga.
Not e you have limitationm of 1.7 gb for 32 bit oracle.
There is no substitute to HARDWORK