Physical memory

I have 96 G mac, but I can't allocate more than 8G, currently I define it as follow:

 neo4j:
    image: neo4j:5.18.1 
    ...
    environment:
        NEO4J_server_memory_pagecache_size: 500m
        NEO4J_server_memory_heap_max__size: 7G
        NEO4J_dbms_memory_pagecache_size: 500m

when I increase the values that sum is more than 8 G, I get error,

ERROR Invalid memory configuration - exceeds physical memory. Check the configured values for server.memory.pagecache.size and server.memory.heap.max_size

is it some other config to extend the physical memory?