What happens when loading shards?

What exactly is happening behind the scenes when we load a shard? I noticed that when I try loading at shard around 10GB in size, it takes more than 10GB of RAM and eventually crashes my runtime. Just wondering if there’s any hope of me being able to use weights with 10GB shard sizes.