Now, without checking the validity of what you're doing, you copy 256 bytes into a stack area reserved at only 128 bytes.
现在,您没有检查正在处理的内容的有效性,而是将256个字节复制到了仅为128个字节的保留堆栈空间内。
As you may have gathered from the above the reserved memory (virtual bytes in performance monitor) will be much larger than the committed bytes (private bytes in performance monitor).
由上所知,预定的内存(性能监视器中的虚拟字节)将比提交的内存字节(性能监视器中的私有字节)大得多。
The following output indicates 42 MB of memory is reserved for the instance shared memory set (10313 pages * 4096 bytes per page)
下面的输出表明有 42MB 的内存被预留给实例共享内存集(10313页 * 4096字节/页)
These bytes are reserved and set to zero;
这些未使用字节被保留并被设置为0;
The first byte comes from a range of codes reserved for use as lead bytes.
第一个位元组来自保留作前置位元组用途的编码范围。
The number of bytes reserved for the remote address information. This value must be at least 16 bytes more than the maximum address length for the transport protocol in use. Cannot be zero.
“要比系统给的最大地址长度至少要多16个字节”,而我的代码没有多这16个字节,问题就出在这里,修改一下,再运行,就没问题了;
The number of bytes reserved for the remote address information. This value must be at least 16 bytes more than the maximum address length for the transport protocol in use. Cannot be zero.
“要比系统给的最大地址长度至少要多16个字节”,而我的代码没有多这16个字节,问题就出在这里,修改一下,再运行,就没问题了;
应用推荐