Cvs Commit: cvsnt
| Newsgroups | gmane.comp.version-control.cvs.windows-nt.cvs |
|---|---|
| Message-ID | <301a4ea8ef3b1c0e@obrien> |
CVSROOT: /cvs Module name: cvsnt Changes by: [email protected] Thu Oct 27 05:50:32 2011 On host: mail.march-hare.com Directory: cvsnt/cvsntcpl M advancedpage.cpp CVSNT_BRANCH_2_8_01_3761 1.19.2.28.6.23 -> 1.19.2.28.6.23.2.1 Bug Id: 6317 Directory: cvsnt/lib M system.h CVSNT_BRANCH_2_8_01_3761 1.12.2.22.6.2 -> 1.12.2.22.6.2.4.1 Bug Id: 6317 Directory: cvsnt/src M cvs.h CVSNT_BRANCH_2_8_01_3761 1.93.2.208.6.29.2.16 -> 1.93.2.208.6.29.2.17 Bug Id: 6317 M rcs.cpp CVSNT_BRANCH_2_8_01_3761 1.80.2.214.4.54.2.5 -> 1.80.2.214.4.54.2.6 Bug Id: 6317 M rcscmds.cpp CVSNT_BRANCH_2_8_01_3761 1.19.2.33.8.11 -> 1.19.2.33.8.11.4.1 Bug Id: 6317 M server.cpp CVSNT_BRANCH_2_8_01_3761 1.106.2.210.6.99.2.47 -> 1.106.2.210.6.99.2.48 Bug Id: 6317 M server.h CVSNT_BRANCH_2_8_01_3761 1.17.2.25.6.10 -> 1.17.2.25.6.10.2.1 Bug Id: 6317 M subr.cpp CVSNT_BRANCH_2_8_01_3761 1.62.2.81.6.19.2.2 -> 1.62.2.81.6.19.2.3 Bug Id: 6317 Directory: cvsnt/windows-NT M win32.cpp CVSNT_BRANCH_2_8_01_3761 1.72.2.150.6.44.2.25 -> 1.72.2.150.6.44.2.26 Bug Id: 6317 Log message: Bug 6317: win: server: out of memory; can not reallocate 1. server.cpp: put a trace message "Create Heap failed - commit of large files may be affected" or "Heap Allocated OK." (with the size too) near "Opened Semaphore OK." 2. win32.cpp replace %% in sprintf with %c and a '%' param near "Server seems to have enough memory" for memoryload. Fixes "internal error: bad % in error()" 3. win32.cpp: display heap stats along with memory stats in win32getmemory(): http://msdn.microsoft.com/en-us/library/windows/desktop/ee175819(v=vs.85).aspx 4. win32.cpp put an event log message if: heapcreate fails heapsetinformation fails 5. win32.cpp: display heap information with memory stats in win32getmemory(): http://msdn.microsoft.com/en-us/library/windows/desktop/aa366703(v=vs.85).aspx 6. win32.cpp: display large page minimum with memory stats in win32getmemory(): http://msdn.microsoft.com/en-us/library/windows/desktop/aa366568(v=vs.85).aspx 7. win32.cpp: win32getmemory() if giving some sort of error message.. then call HeapValidate(): http://msdn.microsoft.com/en-us/library/windows/desktop/aa366708(v=vs.85).aspx 8. New memory option "Windows Native (virtual on fail)" on advanced tab of server control panel. Use VirtualAlloc to allocate temporary space if HeapAlloc fails and the memory allocation request is over 100MB. If the VirtualAlloc is OK, then copy the 'old' memory to the 'virtual', HeapFree(), AllocHeap() and copy the virtual memory over to the 'new' location. 9. This is very experimental, probably will cause crashes. New memory option "Windows Native (virtual) RCS request >100MB" on advanced tab of server control panel. Use VirtualAlloc to allocate the maximum size of the RCS file + the new revision *2, for memory allocation over 100MB.