图1显示MapLeakerGC之后应用程序堆大小随着时间的变化图。
Figure 1 shows a graph of the application heap size after GC for MapLeaker over time.
如果您的模式非常大,您可能需要在注册之前增加应用程序堆大小,例如,发出以下语句。
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.
应用程序堆大小参数定义了数据库管理器的一个特定代理或子代理所能使用的私有内存页数。
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.
之前我们曾提到过,代理私有内存包括一些内存池,例如应用程序堆大小、排序堆大小和语句堆大小。
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).
如果正确理解了应用程序的内存要求,则固定堆大小便是一个简单的性能优化问题。
Fixing the heap size is an easy performance optimization if the memory requirements of the application are well understood.
如果应用程序的内存需求相对稳定,则可以考虑将堆大小的最大值和最小值设置为相同值。
If the memory requirements of your application are relatively stable, consider setting the minimum and maximum heap sizes to be equal to one another.
这方面的调优包括确保堆可以增长到应用程序需要的大小,以及通过调整垃圾收集参数避免垃圾收集的影响过大。
Your tuning efforts in this area involve making sure the heap can grow to the size your application needs and tuning the garbage collection parameters to avoid the effects of heavy garbage collection.
因此,通过增加堆大小,可以增加GC暂停之间的间隔,从而为应用程序提供更多的执行时间。
So, by increasing the heap size the interval between GC pauses will increase, which will give the application more time to execute.
了解堆大小和应用程序利用率方面的关系非常重要。
It's important to understand the correlation between heap size and application utilization.
推荐:通过合理地增加jvm堆大小设置来对它进行调整以确定应用程序的最佳内存设置。
Recommendation: Adjust the JVM heap size Settings in reasonable increments to determine the optimal memory Settings for the application.
请确保jvm堆大小设置与同一台服务器上的任何其他应用程序不超出机器的物理内存的限制。
Make sure that the JVM heap size Settings are within the physical memory limits of the machine, along with any other applications on the same server.
图8演示了一种典型的堆大小和应用程序利用率之间的平衡。
Figure 8 illustrates a typical trade-off between heap size and application utilization.
aslheapsz——应用程序支持层堆大小配置参数。
Aslheapsz — Application support layer heap size configuration parameter.
该工具用于在实验测试中查看详细模式 GC数据,以便在查找DayTrader应用程序的适当堆大小时可以做出一些调整。
That tool was used in the lab tests to view the verbose GC data so that adjustments could be made in finding the appropriate heap size for the DayTrader application.
这个参数不是一个应用程序组内用于每个应用程序的各应用程序控制堆的大小。
This parameter is NOT the size of the individual application control heap of each application in an application group.
堆大小的这些上下浮动可能会降低应用程序的速度,但如果同一系统上运行的其他程序不需要物理内存,则没有必要这样。
These fluctuations in the heap size can slow down the application and are unnecessary if the physical memory is not needed for anything else running on the same system.
这可以消除基于.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.
在实时垃圾收集器上运行应用程序时,堆大小和应用程序利用率是要考虑的重要调优选项。
Heap size and application utilization are important tuning options to consider when running an application on a real-time garbage collector.
利用率和堆大小之间的关系跟应用程序有很大关系,达到一个大致平衡需要使用应用程序和VM参数反复实验。
The relationship between utilization and heap size is highly application dependent, and striking an appropriate balance requires iterative experimentation with the application and VM parameters.
期望的堆大小和目标利用率必须针对应用程序进行调整,使目标利用率保持期望的应用程序吞吐量,同时使GC能够满足分配。
Desired heap size and target utilization must be tuned to the application so target utilization maintains the desired application throughput while letting the GC keep up with allocation.
堆需求不变的应用程序可以通过使用固定堆大小改进GC暂停时间。
Applications with consistent heap requirements might see GC pause time improvements by using a fixed heap size.
还需要花费一段时间来增加堆的大小以便获得最优大小,如果应用程序占用下降,则可以缩小堆。
It may also take some time to increase the heap to the optimum size, and if the application occupancy drops, it may shrink the heap.
收集后的空闲堆指标还可以与堆大小结合,共同计算服务器和应用程序所使用的内存工作集(或“内存占用”)。
The free heap after collection metric can also be used in conjunction with the heap size to calculate the working set of memory (or "footprint") being used by the server and application.
固定大小的堆不得小于应用程序的最大内存使用量,以避免出现内存不足的错误。
The fixed heap must be at least as big as the maximum memory usage of the application to avoid out-of-memory errors.
通常,堆大小越大应用程序执行得越好,因此调整堆大小涉及权衡应用程序的要求以及物理内存的其他需求。
Usually, the bigger the heap, the better the application will perform, so sizing the heap involves trading off the requirements of the application against other demands on the physical memory.
要调优任何应用程序的堆大小,第一步是使用默认堆设置运行应用程序,这允许您测量开箱即用性能。
The first step to tuning the heap size for any application is to run your application using the default heap Settings, which will enable you to gauge the out-of-the-box performance.
使用可变大小堆允许GC仅对堆使用应用程序必需的OS资源。
Using a variable size heap enables the GC to use only the OS resources required by the application for the heap.
您可以使用它来确定参数(堆大小、目标利用率、窗口大小和时间量)是否支持应用程序运行。
You can use it to determine if the parameters (heap size, target utilization, window size, and quantum time) support the running application. Listing 1 shows an example of verbose output.
如果服务器堆大小的默认设置不够(即当您运行应用程序时会出现Out OfMemoryError错误),您可能需要增加服务器堆大小。
If the default setting of the server's heap size is not sufficient (that is, when you get OutOfMemoryError when running the applications), you may want to increase the heap size of the server.
开发者需要知道应用程序的运行存储器消费,堆和堆叠大小,及其他罚款调整他们的应用程序。
Developers need to know an application's run-time memory consumption, heap and stack sizes, etc to fine tune their applications.
应用推荐