原创 無法在事務中執行備份或還原操作.BACKUP DATABASE異常終止

  BACKUP 操作未能完成命令 BACKUP DATABASE dycw2。有關詳細消息,請查看備份應用程序日誌。 SELECT * FROM sys.messages where message_id = 30

原创 複合主鍵與複合唯一索引

主鍵的唯一性和聯合主鍵 主鍵是唯一的索引,那麼爲何一個表可以創建多個主鍵呢? 其實“主鍵是唯一的索引”這話有點歧義的。舉個例子,我們在表中創建了一個ID字段,自動增長,並設爲主鍵,這個是沒有問題的,因爲“主鍵是唯一的索引”,

原创 What causes "Invalid Address specified to RtlValidateHeap"?

Forum Visual C++ & C++ Programming Visual C++ Programming What causes "Invalid Address specified to RtlValidateHe

原创 What is 1e-9?

What is 1e-9? def compare_floats(a, b, epsilon=1e-9): //判斷浮點數是否相等, 實際是判斷兩數相差是否大於那個極微小的數 return

原创 ‘Proof of the pudding’: Global variables and PAGE_EXECUTE_WRITECOPY

‘Proof of the pudding’: Global variables and PAGE_EXECUTE_WRITECOPY UNCATEGORIZED PRODUCTION DEBUGGING, WINDBG LEAVE A

原创 A curious case: CLR/COM Interop leak

A curious case: CLR/COM Interop leak UNCATEGORIZED .NET, COM, INTEROP, PRODUCTION DEBUGGING, WINDBG LEAVE A COMMENT

原创 內存分配粒度 分配粒度和內存頁面大小(x86處理器平臺的分配粒度是64K,內存頁是4K,所以section都是0x1000對齊,硬盤扇區大小是512字節,所以PE文件默認文件對齊是0x200)

分配粒度和內存頁面大小(x86處理器平臺的分配粒度是64K,內存頁是4K,所以section都是0x1000對齊,硬盤扇區大小是512字節,所以PE文件默認文件對齊是0x200)   分配粒度和內存頁面大小x86處理器平臺的分配粒度是6

原创 Why does Windows claim to be low on memory when I have swap space available?

Why does Windows claim to be low on memory when I have swap space available? Ask Question Asked 8 years, 1 month ago

原创 The Out-of-Memory Syndrome, or: Why Do I Still Need a Pagefile?

The Out-of-Memory Syndrome, or: Why Do I Still Need a Pagefile?  July 19, 2016 aziusMemory Management 13 Comments Windo

原创 34 GB of commited memory but no app actually commited that much

34 GB of commited memory but no app actually commited that much Ask Question Asked 3 years, 8 months ago Modified 3 y

原创 Virtual memory running out when there are free physical memory?

Virtual memory running out when there are free physical memory? Ask Question Asked 7 years, 8 months ago Modified 7 y

原创 如果有足夠的物理 RAM,有什麼理由不禁用 Windows 頁面文件?

如果有足夠的物理 RAM,有什麼理由不禁用 Windows 頁面文件? 問問題 問 14 年零 1 個月前 2年零10個月前修改 觀看 次數 29,000 次     37 禁用 Windows 頁面文件的

原创 Measuring memory usage in Windows 7

Microsoft, Windows 7 Measuring memory usage in Windows 7 by Brandon on February 21st, 2010 Historically, measu

原创 C++引用10分鐘入門教程

C++引用10分鐘入門教程 < C++引用C++引用在本質上是什麼,它和指針到底有什麼區別? >   我們知道,參數的傳遞本質上是一次賦值的過程,賦值就是對內存進行拷貝。所謂內存拷貝,是指將一塊內存上的數據複製到另一塊內存上。對於像 cha

原创 C++函數返回對象效率以及使用建議 局部變量作爲函數返回值 C++中函數返回值是一個對象時的問題

C++中函數返回值與拷貝 白給程序猿 最新推薦文章於 2022-08-22 18:48:40  分類專欄: c++ 文章標籤: c++ 編程語言 五一假期最後一天,看JUC看的頭疼,寫寫blog放鬆一下。作