Set the maximum file limit for POSIX systems
Resolves an issue where the macOS application's dylibs could not be loaded because there were too many maps; on macOS the default maximum number of open files is 256.
This commit is contained in:
1 parent
3ef30e759e
commit
0d1f4fd471
4 files changed
+52
No files matched your search
@@ -823,6 +823,7 @@ int main( int argc, char **argv )
|
||||
#endif
|
||||
|
||||
Sys_PlatformInit( );
|
||||
Sys_SetMaxFileLimit( );
|
||||
|
||||
// Set the initial time base
|
||||
Sys_Milliseconds( );
|
||||
|
||||
Reference in new issue
Block a user