发信人: LodossWar (sleepycat), 信区: DotNet
标 题: Re: memory usage
发信站: Unknown Space - 未名空间 (Tue Oct 21 12:13:43 2003), 站内信件
but you can negotiate with the clients.
1. Optimize your program first.
2. At the same time, ask the saleman to persuage them to buy a 256M memory.
This is easy because it is "2G".
3. tell clients your system is so complex that their money is really worth.
hehe, see, cost so much memory. :)
【 在 kongzi (鸡龟骨滚羹) 的大作中提到: 】
: 【 在 magicfat (魔法胖子) 的大作中提到: 】
: : server
: : same
: : 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
: : 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.
※ 来源:．Unknown Space - 未名空间 mitbbs.com．[FROM: 151.201.]