You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
I have a similar issue, but I've worked around it by using the x64 toolset (this doesn't mean compiling an x64 binary, it just means that the compiler itself is the 64-bit version). This allows the compiler and linker to utilize more than 4GB of RAM.
There's multiple ways to use the x64 MSVC toolset, but the method I'm using is just setting the PreferredToolArchitecture environment variable value to x64.
You could also add the following under the <Import .../> statement in your .vcxproj file to use the x64 toolset only on a specific project:
I have about 5000 functions that i have to expose to lua, basically i wrote a generator to do that for me like that:
When im trying to compile it it takes 4gb of memory and then it fails with

I tried splitting functions to separate .cpp files 500 in each and then it works, but is there other solution to that?
The text was updated successfully, but these errors were encountered: