当前在线人数13812
首页 - 分类讨论区 - 电脑网络 - 窗口里的风景版 -阅读文章
未名交友
[更多]
[更多]
文章阅读:Re: memory usage
[同主题阅读] [版面: 窗口里的风景] [作者:kongzi] , 2003年10月21日10:14:02
kongzi
进入未名形象秀
我的博客
[上篇] [下篇] [同主题上篇] [同主题下篇]

发信人: kongzi (鸡龟骨滚羹), 信区: DotNet
标  题: Re: memory usage
发信站: Unknown Space - 未名空间 (Tue Oct 21 10:14:02 2003) WWW-POST

【 在 magicfat (魔法胖子) 的大作中提到: 】
: 【 在 kongzi (鸡龟骨滚羹) 的大作中提到: 】
: : well,in our case,a superserver costs 45M-55M memory,plus sometimes the
: server
: : will create another process for report previewing on the fly which costs
21M
: : memory.If there are some other companies' .net application running on the
: same
: : machine,what would you expect.
:
: If not all of the applications are going to run actively at the same time,
: the memory of those idle ones will be swapped out.
:
: Besides, these days "super servers" can have 2G RAM, which can have almost
100
: of your report preview processes all in the memory at the same time.
You can not ask all the clients to purchase a 2G Ram machine.What you can do
is to optimize your program to fit in the clients' request before your boss
yells at you.:)
BTW,the report engine is only a tiny part of the superserver.This is just an
example here.Actually I encountered the memeory problem when I run a
stress-test of the report engine:Multiple threads generate hundreds of stand
alone report viewer processes simoutaneousely,and,of course you can imagine
what happened.:).But actually it's not a real problem for my system,coz in the
report engine we use the batch mode for previewing.But this just gave me a
thought about the memory usage in .net.
: If it actually gets to that point, I suspect it will be your CPU, not memory
: that
: will become the bottleneck.
:

--
God,
give us grace to accept with serenity the things that cannot be changed,
courage to change the things which should be changed and the wisdom to disti
nguish the one from the other.

※ 来源:.Unknown Space - 未名空间 mitbbs.com.[FROM: 199.3.]

[上篇] [下篇] [同主题上篇] [同主题下篇]
[转寄] [转贴] [回信给作者] [修改文章] [删除文章] [同主题阅读] [从此处展开] [返回版面] [快速返回] [收藏] [举报]
 
回复文章
标题:
内 容:

未名交友
将您的链接放在这儿

友情链接


 

Site Map - Contact Us - Terms and Conditions - Privacy Policy

版权所有,未名空间(mitbbs.com),since 1996