(fix) some more memory info

pull/232/head
Ludovic Marcotte 2017-01-09 16:09:09 -05:00
parent 841fdb96cc
commit 5e775ea4ce
1 changed files with 2 additions and 0 deletions

View File

@ -138,6 +138,8 @@ static BOOL debugLeaks;
/* load products */
[[SOGoProductLoader productLoader] loadAllProducts: YES];
if (vMemSizeLimit > 0)
[self logWithFormat: @"All products loaded - current memory usage at %d MB", [[NSProcessInfo processInfo] virtualMemorySize]/1048576];
}
- (id) init