为什么我的C#helloworld程序使用16Mb的RaM? [英] Why my C# helloworld program use 16Mb of RaM ?

查看:83
本文介绍了为什么我的C#helloworld程序使用16Mb的RaM?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以及如何修复它?

解决方案

这不是一个简单的问题,elpako。

多一点具体,也许?

-

问候,

DennisJDMyrén

Oslo Kodebureau

" elpako" < EL ************* @ op.pl>在消息中写道

news:ch ********** @ nemesis.news.tpi.pl ...

以及如何修复它? / blockquote>


elpako,


没有什么可以解决的。这是为Common Language Runtime提供的

服务支付的价格。这个内存用于内存管理,垃圾收集等等的内容。


希望这会有所帮助。

- -

- Nicholas Paldino [.NET / C#MVP]

- mv * @ spam.guard.caspershouse.com


" elpako" < EL ************* @ op.pl>在消息中写道

news:ch ********** @ nemesis.news.tpi.pl ...

以及如何修复它? / blockquote>





如果你搜索档案,你会发现这是一个经常出现的问题
NG中的



这是您正在使用的所有托管代码所需的内存量,

还包括一些IIRC没有使用的堆内存,但是如果你需要的话,它是保留的



除了今天的所有16MB之外,计算机也不是什么大不了的事。


Jon:

也许这可以包含在常见问题解答中,什么是minimun和

为什么/如何'使用了。


干杯,


-

Ignacio Machin,

ignacio.machin AT dot.state.fl.us

佛罗里达州交通局

" elpako" < EL ************* @ op.pl>在消息中写道

news:ch ********** @ nemesis.news.tpi.pl ...

以及如何修复它? / blockquote>


and how to fix it ?

解决方案

That was not an easy question, elpako.
A bit more specific, maybe?
--
Regards,
Dennis JD Myrén
Oslo Kodebureau
"elpako" <el*************@op.pl> wrote in message
news:ch**********@nemesis.news.tpi.pl...

and how to fix it ?



elpako,

There is nothing to fix really. This is the price that is paid for the
services that the Common Language Runtime provides. This memory is used for
things like memory management, garbage collection, etc, etc.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"elpako" <el*************@op.pl> wrote in message
news:ch**********@nemesis.news.tpi.pl...

and how to fix it ?



Hi,

If you search the archives you will see that this is a recurrent question
in the NG.

That is the amount of memory needed for all the managed code you are using,
also IIRC it also include some heap memory that is not being used but is
reserved in case you need it.

Beside all 16MB in today computers is not a big deal after all.

Jon:
Maybe this is something to include in the FAQ , what is the minimun and
why/how it''s used.

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"elpako" <el*************@op.pl> wrote in message
news:ch**********@nemesis.news.tpi.pl...

and how to fix it ?



这篇关于为什么我的C#helloworld程序使用16Mb的RaM?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆