Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试流式传输文件。我使用一个字节制表符。
byte[] byteBuffer=new byte[iSize];
iSize价值 1,459,126,243 和2,489,816 GC.GetTotalMemory。我的电脑上有 16 G 的内存。问题是什么?
iSize
GC.GetTotalMemory
你是在 x86 还是 x64 下编译?除非您在 x64 下运行,否则您将无法从 16gb 内存中受益……