R13B03 binary vheap有助减少binary内存压力.
参看:
http://www.erlang.org/download/otp_src_R13B03.readme
引用
OTP-8202 A new garbage collecting strategy for binaries which is more
aggressive than the previous implementation. Binaries now has
a virtual binary heap tied to each process. When binaries are
created or received to a process it will check if the heap
limit has been reached and if a reclaim should be done. This
imitates the behavior of ordinary Erlang terms. The virtual
heaps are grown and shrunk like ordinary heaps. This will
lessen the memory footprint of binaries in a system.
原来的binary和其他类型的eterm是混在一起的,当进程的heap用完的时候,才进行GC,腾出空间。现在是把binary单独抽取出来,单独计数, 当binary用量过大的时候,马上就GC。
这个策略对于我们的服务器程序很有帮助,因为我们的服务器程序基本上包都是binary, 很容易出现binary无法及时回收,导致内存耗光的情况。
具体的改进效果待进一步的观察。
Note: 具体效果参考这个
http://www.lshift.net/blog/2009/12/01/garbage-collection-in-erlang
效果还是非常理想,谢谢cryolite
分享到:
相关推荐
LTE 物理层协议 R13
ECE R13H
android sdk windows r13 android sdk windows r13
R8、R11和R13版本的DYNA关键字手册
android-ndk-r13b
最新3gpp测试规范,R13的,主要针对UE的射频测试规范的测试limit。
android-ndk-r13b-windows-x86_64 稳定版 platforms包含9-24
usb_driver_r13-windows You can use the ADB Driver to connect the mobile (powered by android) to the computer and transfer data between the mobile and the computer. 您可以使用 ADB Driver 将手机(由 ...
CAE仿真求解-LS-DYNA-使用手册-manual-V1-R13版本 在设置控制卡片和关键词等方面给予参考
Android NDK R13 所有平台(Win 64/32, Linux, Mac) 给各位不方便科学上网的鞋童一个方便~
6SigmaET练习教程 R13_液冷散热.pdf
android-ndk-r13b-windows-x86_64 官网版
利用这个软件可以在AutoCAD R14\2000\2004之间转换。 我需要积分,但不情愿提高分值,因为资源本该共享,是不该设置障碍的
android-ndk-r13-darwin-x86_64.zip android ndk r13 for mac 最新的mac版本NDK
apple mac 开发android-sdk_r13-mac_x86.zip
CAE仿真求解-LS-DYNA-使用手册-manual-V2-R13版本 在设置控制卡片和关键词等方面给予参考
linux 64位 android-sdk_r13-linux_x86
api-monitor-v2r13-setup-x86 API函数监视工具