一个记忆问题 [英] A memory question

查看:50
本文介绍了一个记忆问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好我需要大约30M的内存才能运行我的程序。

有谁可以给​​我一些关于它为什么要花这么多内存的建议?

非常感谢!br />

解决方案

po * **********@gmail.com 写道:

你好需要大约30M内存来运行我的程序。
任何人都可以给我一些建议为什么要花这么多内存?
非常感谢!



这显然是因为你在第42行做了什么。


[说真的,但是,如果没有相关信息,任何人都会知道 - 或者甚至会有什么危险? -


HTH,

- $

-

Artie Gold - 德克萨斯州奥斯汀
http://goldsays.blogspot.com
http:// w ww.cafepress.com/goldsays

如果你没有什么可隐瞒的,你就不会尝试!


< blockquote> po*********** @ gmail.com 写道:< blockquote class =post_quotes>你好需要大约30M内存才能运行我的程序。
任何人都可以给我一些关于它为什么要花这么多内存的建议吗?




你正在使用那么多。

你在浪费它的一部分。


你的请求绝对是comp.lang.c中的主题

关于算法和数据结构的问题,请考虑

询问comp.programming。


-Michael

-

电子邮件:我的是/ at / gmx / dot / de地址。


po *********** @ gmail.com 写道:

任何人都可以给我一些建议它花了这么多记忆?




你在第42行有一个错误。


-

+ ------------------------- + -------------------- + ----------------------------- +

| Kenneth J. Brody | www.hvcomputer.com | |

| kenbrody / at\spamcop.net | www.fptech.com | #include< std_disclaimer.h> |

+ ------------------------- + -------------- ------ + ----------------------------- +

不要给我发电子邮件:< mailto:Th ************* @ gmail.com>


Hello it takes about 30M memory to run my program.
Can anyone give me some suggestions on why it costs so much memory?
Thanks a lot!

解决方案

po***********@gmail.com wrote:

Hello it takes about 30M memory to run my program.
Can anyone give me some suggestions on why it costs so much memory?
Thanks a lot!


It''s obviously due to what you''re doing on line 42.

[Seriously, though, how would *anyone* know -- or even hazard a
reasonable guess -- without some relevant information?]

HTH,
--ag
--
Artie Gold -- Austin, Texas
http://goldsays.blogspot.com
http://www.cafepress.com/goldsays
"If you have nothing to hide, you''re not trying!"


po***********@gmail.com wrote:

Hello it takes about 30M memory to run my program.
Can anyone give me some suggestions on why it costs so much memory?



You are using that much.
You are wasting part of it.

Your request is definitely off-topic in comp.lang.c
For questions about algorithms and data structures, consider
asking in comp.programming.

-Michael
--
E-Mail: Mine is an /at/ gmx /dot/ de address.


po***********@gmail.com wrote:


Hello it takes about 30M memory to run my program.
Can anyone give me some suggestions on why it costs so much memory?



You have an error on line 42.

--
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody | www.hvcomputer.com | |
| kenbrody/at\spamcop.net | www.fptech.com | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+
Don''t e-mail me at: <mailto:Th*************@gmail.com>


这篇关于一个记忆问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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