Hi
taken from sap:
For a central instance with 1 GB main memory, the database uses
400 MB and the application server 600 MB. The value for PHYS_MEMSIZE
should therefore be set manually to 600
In your case , you know that max3GB is for the db and therefore PHYS_MEMSIZE should be 5GB
I believe this is best answer i can give you