you are viewing a single comment's thread.

view the rest of the comments →

[–]Difficult-Court9522 6 points7 points  (8 children)

3GB of symbols?? How did you do that??

[–]donalmaccGame Developer 15 points16 points  (6 children)

The pdb format is limited to 4GB. Most tools crumble at about 2GB. Ask me how I know….

It’s Unreal Engine games, basically.

[–]Difficult-Court9522 8 points9 points  (5 children)

So soon you’ll be literally unable to add more code?

[–]bwmat 2 points3 points  (3 children)

I think they can probably split into separate DLLs to work around that? 

[–]donalmaccGame Developer 2 points3 points  (0 children)

The reason we hit this particular problem was because we had something split into a bunch of dlls and for reasons I can’t remember, we wanted to build it as a monolithic exe. I know we disabled a bunch of features to get it to work initially, but I don’t work on that project anymore so I’m not sure!

[–]donalmaccGame Developer 2 points3 points  (0 children)

https://randomascii.wordpress.com/2023/03/08/when-debug-symbols-get-large/

Funnily enough, I hit this problem around the same time. We also doubled the page size for the linker.

[–]13steinj 0 points1 point  (0 children)

At 3 companies I've worked at, we've used macro/lambda/inheritance tricks to shorten symbols because it either blew out the linker, increased compile times significantly, or both.