它控制DB 2服务器上并发应用程序消耗的资源,比如总应用程序堆。
This controls the resources, such as the total application heap, consumed by the concurrent applications on the DB2 server.
图1显示MapLeakerGC之后应用程序堆大小随着时间的变化图。
Figure 1 shows a graph of the application heap size after GC for MapLeaker over time.
应用程序堆大小参数定义了数据库管理器的一个特定代理或子代理所能使用的私有内存页数。
The application heap size parameter defines the number of private memory pages available to be used by the database manager on behalf of a specific agent or subagent.
为应用程序堆、语句堆、缓冲池和临时表空间这些区域中的本地处理调优联邦系统。
Tune the federated system for local processing in the areas of application heap, statement heap, buffer pool, sort heap, and temp tablespace.
如果您的模式非常大,您可能需要在注册之前增加应用程序堆大小,例如,发出以下语句。
If your schema is very large, you may need to increase your application heap size before attempting to register it. For example, issue the following statements.
之前我们曾提到过,代理私有内存包括一些内存池,例如应用程序堆大小、排序堆大小和语句堆大小。
As we have mentioned earlier, the agent private memory includes several memory pools such as the application heap size, sort heap size and statement heap size. (See Figure 1).
当应用程序接收到一个表明应用程序堆中存储空间不够的错误时,应该增加APPHEAPSZ的值。
When your applications receive an error indicating that there is not enough storage in the application heap, increase the value of APPHEAPSZ.
如果正确理解了应用程序的内存要求,则固定堆大小便是一个简单的性能优化问题。
Fixing the heap size is an easy performance optimization if the memory requirements of the application are well understood.
用于应用程序管理堆外内存区域和避免垃圾收集(GC)导致的延迟的机制就是一个此类的扩展。
One such extension is a mechanism for applications to manage areas of memory outside of the heap and avoid delays that are caused by garbage collection (GC).
正如上文所示的固定堆示例,应用程序可能有时的运行速度比调整前快,但仍然由未改变的GC开销甚至更长的平均暂停时间表示。
As the example of fixing the heap above showed, an application may sometimes run faster than it did before being tuned but still be marked by an unchanged GC overhead or even longer mean pauses.
堆被注满,应用程序分配内存失败。
The heap filled up, and the application failed to allocate memory.
这个参数不是一个应用程序组内用于每个应用程序的各应用程序控制堆的大小。
This parameter is NOT the size of the individual application control heap of each application in an application group.
如果您的应用程序出现了内存泄漏,堆内存使用量将随时间稳步增长。
If a memory leak is present in your application, the heap memory usage steadily increases over time.
比较两个堆转储中应用程序对象的数目。
Compare the number of application objects in each heap dump.
图14显示该应用程序的堆使用情况。
因此您应该考虑增加堆或降低应用程序利用率目标以避免出现同步gc。
Therefore, you should consider increasing the heap or decreasing the application utilization target to avoid the occurrence of synchronous GCs.
一般而言,堆越大,应用程序的性能就越好,但是对于某些系统或某些类型的工作负载来说也会存在例外。
In general, the bigger the heap, the better the application performance, although there are exceptions with certain systems or certain kinds of workloads.
如果堆和应用程序的内存使用量很接近,那么垃圾收集器必须非常频繁地收集堆,这会导致性能损失。
If the heap is close to the memory usage of the application, the garbage collector has to collect the heap too often, and performance suffers.
了解堆大小和应用程序利用率方面的关系非常重要。
It's important to understand the correlation between heap size and application utilization.
这可以消除基于.NET的应用程序中托管堆大小常见的锯齿模式,并且减少了应用程序为执行垃圾回收而花费的时间。
This can get rid of the sawtooth pattern often seen for the managed heap size in.net-based applications, and reduces the time an application spends performing garbage collection.
应用程序一直运行,直至耗尽堆的可用内存,此时GC停止所有的应用程序代码、执行垃圾收集,然后让应用程序继续运行。
An application runs until the heap is exhausted of free memory, at which point the GC stops all application code, performs a garbage collect, and then lets the application continue.
在应用程序组内,每个应用程序都有其自己的应用程序控制堆。
Within the application group, each application has its own application control heap.
应用程序支持层堆是本地应用程序和与它相关联的代理之间的通信缓冲区。
The application support layer heap represents a communication buffer between the local application and its associated agent.
解决方案堆由应用程序组成,这些应用程序有助于开发过程和应用程序部署。
A solution stack consists of the applications that will assist in the development process as well as the deployment of the application.
我希望本文能为您提供一些关于如何在不同构建之间度量应用程序中堆使用的想法,还有几个手工技术用于发现并处理不可避免的泄漏。
I hope this article has given you some ideas on how to measure your application's heap usage from build to build, plus a few handy techniques for finding and fixing leaks when they inevitably occur.
堆需求不变的应用程序可以通过使用固定堆大小改进GC暂停时间。
Applications with consistent heap requirements might see GC pause time improvements by using a fixed heap size.
在实时垃圾收集器上运行应用程序时,堆大小和应用程序利用率是要考虑的重要调优选项。
Heap size and application utilization are important tuning options to consider when running an application on a real-time garbage collector.
如果没有任何明显的原因应用程序要增加内存要求时,使用的堆的线条向上蔓延,则有可能存在泄露。
If the used heap line is creeping up when there's no obvious reason for the memory requirements of the application to be increasing, there may be a leak.
固定大小的堆不得小于应用程序的最大内存使用量,以避免出现内存不足的错误。
The fixed heap must be at least as big as the maximum memory usage of the application to avoid out-of-memory errors.
图8演示了一种典型的堆大小和应用程序利用率之间的平衡。
Figure 8 illustrates a typical trade-off between heap size and application utilization.
应用推荐