Hi,
The size is in GB. It is most likely that the Portal is not correct as the API clearly states the description of the property: "The memory request in GB of this container instance."
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.