You first configure the shared memory pool.
首先配置共享内存池。
The limit for database shared memory is around 3.5GB.
数据库共享内存的限制大约是 3.5GB。
Segment 3 (blue) is allocated to instance shared memory;
段3 (蓝色)被分配给实例共享内存。
There is no real concept of shared memory sets on Windows.
在Windows 中没有真正的共享内存集的概念。
The total logical memory was larger than the shared memory pool.
逻辑内存总量大于共享内存池。
Table 4. Configuration parameters that affect agent shared memory
表4.影响代理程序共享内存的配置参数
Not all installations of PHP support shared memory because it can be a security risk.
并不是所有的PHP安装都支持共享内存,因为它可能是安全风险隐患。
定义一个共享内存池。
A similar solution is using Shared memory.
类似的解决方案是使用共享内存。
There is a 1.75gb system wide Shared memory limit.
系统范围共享内存的限制是1.75GB。
But what does Shared memory and private memory mean?
但是共享内存和私有内存的意义是什么呢?
Create your Shared memory object as shown in Listing 2.
像清单2这样创建共享内存对象。
Object a starts right at the beginning of Shared memory.
对象A直接从共享内存的起始处开始。
We describe the sample code in which no Shared memory is used.
我们将简要介绍不使用共享内存的样例代码。
The Shared memory is treated the same as local process memory.
按照与本地进程内存相同的方式对待共享内存。
Erlang has no Shared memory, and in it all state is immutable.
erlang无共享内存,且其中的所有状态都是不变的。
The end address of the instance Shared memory segment is not fixed.
实例共享内存的结束地址是不固定的。
The slot manager sets up its database in a region of Shared memory.
槽管理器在共享内存区域设置其数据库。
A client can attach the Shared memory region created by the server.
某个客户机连接到服务器所创建的共享内存区域。
If the Shared memory object cannot be found, an exception is thrown.
如果无法找到这个共享内存对象,就会抛出异常。
That means the instance Shared memory can potentially be very large.
这意味着实例共享内存可能会很大。
Before the parent can exit, however, it must free the Shared memory.
但是,在父进程退出之前,它必须释放共享内存。
Use the formula given earlier to calculate the database Shared memory.
可以使用前面给出的公式来计算数据库共享内存。
The object construction is skipped if the Shared memory already exists.
如果共享内存已经存在,对象的构造就会被跳过。
However, Shared memory segments still can not cross quadrant boundaries.
不过,共享内存段依然不能跨越象限边界。
Table 5. Configuration parameters that affect application Shared memory.
表5.影响应用程序共享内存的配置参数。
It is important that the database Shared memory and stack do not collide.
使数据库共享内存和堆栈不发生冲突,这一点很重要。
These resources are found within the database Shared memory (See Figure 1).
这些资源在数据库共享内存中(参见图1)。
Clearly, 1gb of RAM is not enough to handle 1.52gb of Shared memory mapping.
显然,1gb的RAM不足以处理1.52 GB的共享内存映射。
Let's start with the sample program, the one that doesn't use Shared memory.
下面让我们开始介绍这个样例程序,首先是不使用共享内存的程序。
应用推荐