(fix) be a bit more verbose about memory usage

This commit is contained in:
Ludovic Marcotte
2017-01-09 16:03:32 -05:00
parent 5afb4b7dd3
commit ccb176d996

View File

@@ -124,7 +124,7 @@ static BOOL debugLeaks;
vMemSizeLimit = [defaults vmemLimit];
if (vMemSizeLimit > 0)
[self logWithFormat: @"vmem size check enabled: shutting down app when "
@"vmem > %d MB", vMemSizeLimit];
@"vmem > %d MB. Currently at %d MB", vMemSizeLimit, [[NSProcessInfo processInfo] virtualMemorySize]/1048576];
/* SoClass security declarations */
sInfo = [self soClassSecurityInfo];