由买买提看人间百态

topics

全部话题 - 话题: memory
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
b*s
发帖数: 82482
1
8. Will I void my warranty if I add memory to the iMac myself?
Not necessarily. The iMac's two memory sockets are both on the system's
processor module - a small circuit board that also holds the G3 processor
and plugs into the main logic board - but one socket is on the top of it
and one is on the bottom.
As the iMac ships, the upper socket is empty, while the lower one has one
32-Mbyte SO-DIMM installed. Apple allows you to add memory to the upper
socket without voiding the warranty.
Note that
s*******n
发帖数: 688
2
来自主题: Apple版 - 关于mac pro memory的问题
apple 自带的memory 可以和别的牌子的memory混用吗? 还有在哪里买memory比较好呢
? 谢谢
s*****o
发帖数: 1540
3
来自主题: CS版 - about virtual memory
the basic concept of vritual memeory is to use hard disk as your memory when
your memory is all used. It is very slow due to the fact that hard disk is
accessed through the slow i/o channel. One common problem is virus and/or
memory leak. I guess it is virus.
I**********s
发帖数: 441
4
【 以下文字转载自 Programming 讨论区 】
发信人: Ilikebeatles (kaka), 信区: Programming
标 题: Monitor process memory usage in Fedora core
发信站: BBS 未名空间站 (Mon Mar 16 07:53:48 2009)
Is there any way to get the peak memory usage of a process in Fedora core?
I'm measuring memory usage of my program.
Now directly reading from the system monitor,
which may not be accurate,
and there may be no reading if the program finishes fast.
q*******i
发帖数: 353
5
【 以下文字转载自 Java 讨论区 】
发信人: qqwuweiyi (娓娓), 信区: Java
标 题: 求教有没有好的查memory leak的工具?
发信站: BBS 未名空间站 (Sat May 22 17:47:56 2010, 美东)
在eclips运行环境下,主要是heap老是报out of memory,想查查程序哪里有memory
leak,希望能有分析到每个类应用heap的情况,谢谢
m******t
发帖数: 2416
6
来自主题: DotNet版 - memory usage

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 100
of your report preview processes all in the memory at the same time.
If it actually gets to that point, I suspect it will be your CPU, not memory
that
will become the bottleneck.
L*******r
发帖数: 1011
7
来自主题: DotNet版 - About memory usage of .Net program
My words: I have tested what the paper said with my own programs. It is true
that simple WinForms will const you more than 10M. And when you start two
instances of a same program, it will cost double memory, which is 20M.
I know the way to save memory for 2-instances case. Provide your own loader of
IL classes and let those two instances share libraries. This is the way I used
in Java, which will save you lots of memory. But this way sacrifice security
feature of "sandbox". So use this trick car
k****i
发帖数: 1072
8
来自主题: DotNet版 - memory leak
What do you mean stablized after GC, do you only mean that GC collects all the
memory back or after GC it never leak again?
As far as I know, GC sometimes is not fast enough to collect all the garbage
and it may cause out of memory problem. the only thing you can do is to change
the design


GC以后好了一些,但是感觉还是有点问题,请问你们都用什么查memory
h********r
发帖数: 3291
9
来自主题: Hardware版 - more memory or faster memory (转载)
【 以下文字转载自 Linux 讨论区 】
发信人: highroller (龘如梦), 信区: Linux
标 题: more memory or faster memory
发信站: BBS 未名空间站 (Thu Jul 1 16:38:35 2010, 美东)
是用1G的PC2700呢,还是2G的PC2100?假设主板可以支持2700。running both Win7
and Ubuntu
d******i
发帖数: 7160
10
比如这个:
https://www.newegg.com/Product/Product.aspx?Item=9SIA2F83T90843&ignorebbr=1&
nm_mc=KNC-GoogleMKP-PC&cm_mmc=KNC-GoogleMKP-PC-_-pla-_-Memory+%28Server+
Memory%29-_-9SIA2F83T90843&gclid=CIrv6L3P5dECFU6CfgodWYwL8w&gclsrc=aw.ds
据说是Reg ECC Low Voltage DIMM Memory 只能 for HP/Compaq?
是form factor根本不fit(装不上),
还是能装但用不了?
请指教!
r*****s
发帖数: 985
11
It is using DOM because of POI.
We are not changing the parsers -- too much work.
Assume we have no control of the file size, because the java
vm may be already low in memory, so a small one may blow it.
If it is getting "out of memory error", the whole app is gone.
So the question is whether we could do anything to prevent it
when the memory is low.
We would rather abort the xml loading than halt the whole app.
Any ideas?
S*A
发帖数: 7142
12
这个问题问得好。
Malloc 一般可以从两个地方得到 address space. 一个就是 heap.
address space 是通过 brk 系统调用来调整 heap 的最高可用的
地址。但是 brk 可以扩展的有限,至少在 x86 是这样。
另外一个地方就是通过 mmap. mmap anonymous page 就是可以
获得新的可以用的 memory.
但是这个和系统的 memory 又是另一回事。对 kernel 来说,
kernel 看到的是 raw pages. 这些 page 可以根据需要 bind
在某一个 virtual memory address space 里面。这个 binding
不是固定的。 kernel 可以把 某个 process 的 page unmap
出来用干其他的事情,等那个 process 用到那个 page 才产生
page fault, kernel 知道去什么地方把那个 page 内容从新搞
出来。一般是在某个文件,如果是 file backing, 或者是 swap
file 如果没有 file backing.
所以这里有... 阅读全帖
r*******e
发帖数: 54
13
来自主题: Programming版 - a question about virtual memory

Thanks, this answers some questions
But I am still not clear how a program decides how much heap space does it nee
d, or the size of the whole virtual memory space that it will be running in...
. therotically, it could be much larger that the physical memory space if only
the address bits allow, then why should we get "out of memory" error so often
?
thanks,
a**a
发帖数: 416
14
来自主题: Programming版 - a question about virtual memory
Well, a program does not claim all virtual addresses as its heap space.
Generally each program has a map of virtual addresses to valid memory space
claimed by the program. Therefore, OS will manage these maps.
Before a program could access some memory place, it must claim it, which
is done by some system call(s). Ideally the OS would try to meet requests until
all available virtual space exhausted. But due to some physical or design
limits, the OS might throw "out of memory" error by some imp
b***n
发帖数: 590
15
来自主题: Programming版 - Please Help, dynamic memory after fork()
what happens to dynamic memory after fork()?
Does the newly created process receive automatically newly allocated dynamic
memory, or two pointers of two process still points to the same memory
location?
Thanks!
z***e
发帖数: 5393
16
来自主题: Programming版 - Win32 TerminateProcess 会有memory leak吗?
又google了一下。
实际上malloc/new是通过win32的HeapAllocate之类的分配heap内存,而这个heap内存
实际上是windows通过类似memory pool之类的东西实现的,总之process结束后整个
process heap全部一笔勾销,所以其实不用delete也不会有memory leak.
是么?
又有提到说如果load了DLL,那么如果TerminateProcess,DLL里面可能会有leak,Why
?因为DLL是另外一个process memory space?
w****g
发帖数: 44
17
来自主题: Programming版 - VC++ 中的 memory leak problem
How to find the memory leak quickly and fix it in C++ program using Visual
Studio?
Are there any way to check the memory leak in VC ? such as memory log ?
F*****n
发帖数: 1552
18
来自主题: Programming版 - VC++ 中的 memory leak problem
当年找memory leak的时候颇费了番功夫。后来在msdn里面看到一个方法,很管用,当
时就记下了。给你作个参考,呵呵
//This is how to debug memory leak.
//Add #define _CRTDBG_MAP_ALLOC #include #include
//at the beginning and add the following statement in the program.
//Then run debug (F5)
//System will return where memory leaks, a number within {}
//Then at very beginning of the program, set a breakpoint, run debug.
//When program stops at the breakpoint, in watch window, set the value
//of function _crtBreakAlloc to that num
h**o
发帖数: 548
19
来自主题: Programming版 - a question about memory.
Sometimes my program terminated unexpectedly. I checked core file and found
it always killed because of malloc or memory free. Does it mean my program
has some memory problem like memory leakage? How to trace this type of
problem? ?
m********a
发帖数: 1312
20
来自主题: Programming版 - python: 怎么避免memory leak?
1. In your python code, do you still have reference to old image data? If
yes, get rid of it and the memory will be released.
2. 没用过matplotlib,不知道它的python wrapper是否可能导致memory leak。有时候
用一些外部的package有可能需要通过提供的API手动清理不用的内存。印象中用
wxPython时好像没有什么明显memory leak问题。
x********3
发帖数: 566
21
来自主题: Programming版 - virtural memory low是怎么回事儿
在运行程序的时候总是遇到提示说virtural memory too low,Google了一下,发现自
己的设置是 400-800mb,自己调整成了600-1000Mb,这下虽然没有virtural memory
too low的提示了,可是程序也不动了。大家分析一下这是怎么回事儿。另外这个
virtural memory是不是越高越好,我的硬盘的free space很多,不过电脑已经是7年老
了,1.7Gb CPU, 512mb的RAM。大家给指点一下。谢谢了。
H*M
发帖数: 1268
22
How is the memory layout in an object-oriented language like C++/Java differ
ent from the procedural language like C? In C, we store code and data in var
ious segments like data segments, code segments, stack segments; What do we
do in C++?
Define any class and tell me how will an object of that class be stored in m
emory?
没看出来,难道c的memory layout和c++的不同么?
哪位大虾能给个解释?
谢谢。
m*******a
发帖数: 130
23
memory layout一般是系统的概念。按你说的是关于memory region of object file的
东西, c和C++都一样compile成object file,所以都一样.但是汇编码会不一样。
q*******i
发帖数: 353
24
【 以下文字转载自 Java 讨论区 】
发信人: qqwuweiyi (娓娓), 信区: Java
标 题: 求教有没有好的查memory leak的工具?
发信站: BBS 未名空间站 (Sat May 22 17:47:56 2010, 美东)
在eclips运行环境下,主要是heap老是报out of memory,想查查程序哪里有memory
leak,希望能有分析到每个类应用heap的情况,谢谢
T********i
发帖数: 2416
25
其实我的要求比较特殊。第一,dedicated application server。专机专用。第二,
memory不是问题,事实上所有page都是强制lock的。不可能swap。第三,大多数memory
allocation都是预先分配好的。永远不需要释放。第四,不需要实时的部分直接用STL
就好了。第五,需要一些实时的memory management。
因此我不需要overload new operator。我需要自己的STL allocator就好了。假定你不
太在乎动态内存的分配效率,做一个保证几条指令完成的方案易如反掌。
注意,我还假定内存肯定足够多。其实这个很容易保证。内存的上限也很容易证明。
这个架构其实能推广到任何应用。
k******e
发帖数: 19
26
来自主题: Programming版 - Android memory leak
非大牛,做安卓多年时常遇到这个烂问题,MEMORY LEAK其实大多是MEMORY NOT
RELEASE SOON ENOUGH,就是留了太多暂时没用的东西在MEMORY里,比如说你用VIEW
PAGER,用FragmentPagerAdapter的话所有的Fragment都不释放,要是用
FragmentStatePagerAdapter那就可以用setOffscreenPageLimit选留几个Fragment。还
有一个常LEAK的就是IMAGE,要是不小心就放一堆BITMAP不RELEASE,立马死菜,最好就
是老实用现成的轮子,比如说PICASSO。出问题就老实地用工具查吧,总能找到症结的。
a*****0
发帖数: 3319
27
window 7 ultimate, memory 有16GB, 但usable memory 才8GB, 怎么弄好呢?多谢。
T***B
发帖数: 137
28
来自主题: Unix版 - How much memory do I have?
My program will consume a lot of memory. When I use "top" to check available
memory, I got the following infomation. But I still have no idea how much
memory I can use for a program. I don't believe it is 12496K. Can any Da Xia
help? Thanks. I am using linux.
96 processes: 95 sleeping, 1 running, 0 zombie, 0 stopped
CPU0 states: 0.5% user, 4.2% system, 0.0% nice, 94.2% idle
CPU1 states: 0.0% user, 5.4% system, 0.0% nice, 94.0% idle
Mem: 3099364K av, 3086868K used, 12496K free, 0K
C*S
发帖数: 135
29
来自主题: Unix版 - FreeBSD memory limit?
I have 1.25GB (0.5 + 0.5 + 0.256) now, and I set the maxdsiz to 2GB.
I have 4GB swap. I was thinking of larger than 4GB program. My boss
asked me to buy 2GB more memory (the motherboard supports up to 2.5G)
so I will remove two sticks to make room for the 1GB sticks.
Do you mean if I have larger physical memory then I can have larger
maxdsiz? I am worrying if the system can give all the memory and
some swap to my program.
Thanks!
f**y
发帖数: 368
30
【 以下文字转载自 Linux 讨论区 】
发信人: fycy (FeiYueChongYang), 信区: Linux
标 题: special commands to run codes using more memory
发信站: BBS 未名空间站 (Fri May 16 12:28:20 2008)
my machine has up to 3.6 G memory and every time when one of my program try
to access above 2.2 G, there appears a "segmentation fault"
i was told there is special commands to run codes using more memory, could
someone point out?
thanks a million!
d*y
发帖数: 32
31
来自主题: Windows版 - Dramatic Memory Increase--HELP
The memory usage of my C++ program is crazy sometimes. It
will climb from 30MB to 130 MB in 2 to 3 minutes. If lucky,
it will then drop and get back to 30MB. The worst that ever
happened is that the memory climbs to 300MB and the program
has to be shut down.
The difficult part is I am not able to replicate this. The
program is running on the server and such dramatic memory
increase happens only when a number of clients are trying to
access . It never happens if I am doing test alone.
I am so bot
l***h
发帖数: 139
32
来自主题: Windows版 - Re: virtual memory应该怎么设定?
i have 1G memory. my virtual memory is set to like 300M.
you always need to set the min and max the same to improve performance,
to prevent windows from resizing virtual memory -- otherwise, too many frac-
tions.
N*********r
发帖数: 40
33
来自主题: Windows版 - Re: virtual memory应该怎么设定?
Agree. Another tip is to defrag HD before setting virtual memory size
to a fix value, and if the computer allows (enough physical memory),
disable the virtual memory (or set to 0 size) before the defragment,
then set it back.
w*******a
发帖数: 27
34
【 以下文字转载自 Programming 讨论区 】
发信人: wulongcha (hahaha), 信区: Programming
标 题: 运行一个dos程序,报错说insufficient memory available咋办?
发信站: BBS 未名空间站 (Wed Mar 8 05:27:48 2006), 转信
别人给的一个小的dos程序,
在xp里面的dos下运行,报的错是
abnormal program termination: stack fault.
.....
在2003server下的dos运行,报得措是,
phar lap err 10118: can't load exp file: .......
Memory error: insufficient physical memory available.
.....
这个该咋办,是不是什么dos里扩展内存之类的东东,不懂啊。
望牛人指点。谢谢
l*****k
发帖数: 587
35
来自主题: Windows版 - xp professional memory issue
got a box with winxp profesional, 32bit, I found
the box has 8G physical memory, 4 processors, however
only 2G physical memory are used, anyway to expand
memory usage? I understand there is a /3G switch in
boot.ini I can use...
w******e
发帖数: 355
36
来自主题: Biology版 - First image of a memory being made
The increase in green fluorescence, right, shows the imaging of protein
synthesis at synapses when memories are made.
Method:
The researchers used a fluorescent protein that can change from green to red
when exposed to ultraviolet light. They flashed the cells with light, so
that any proteins that already existed turned red. But when the scientists
induced the cells to form memories, they saw new green proteins appear under
the microscope.
"One distinction between short-term and long-term memory
s**i
发帖数: 381
37
【 以下文字转载自 Hardware 讨论区 】
发信人: seki (瓜金), 信区: Hardware
标 题: X86的shared-memory 机器还是不行阿?
发信站: BBS 未名空间站 (Wed Feb 28 19:54:48 2007), 站内
发信人: seki (瓜金), 信区: Linux
标 题: X86的shared-memory 机器还是不行阿?
发信站: BBS 未名空间站 (Wed Feb 28 19:54:41 2007), 转信
最近用了一台Sunfire X4600
8个dual core 的AMD Opteron 855
cpu MHz : 2613.696
cache size : 1024 KB
60GB RAM,号称memory bandwidth up to 6.4GB/sec
在上面运行一个MPI code(主要就是解大型稀疏矩阵),parallel scaling 远远不如
另外一台 Opteron cluster,而且cluster的机器的CPU还要慢些
今天又试了试一台IBM 595: 64 Pow
k***g
发帖数: 7244
38
来自主题: PoliticalScience版 - collective memory ...
记得阿瓦和shawn上次开会的那篇文章和这个有关吧,社会学的问题?最新一期的
American Economic Review 上也有一篇关于 Collective Memory:
Dessí, Roberta. 2008. "Collective Memory, Cultural Transmission, and
Investments", American Economic Review 98(1), pp. 534-60.
Abstract
I study the transmission of collective memory as a mechanism for cultural
transmission, in the presence of social externalities associated with
individual cultural investment decisions. The younger generation's decisions
depend on beliefs about the quality of existing inst
j****e
发帖数: 245
39
来自主题: Psychology版 - 求助:关于memory decay和
There is a website for models of memory:
http://memory.psych.purdue.edu/models.shtml
A reference regarding memory decay:
http://act-r.psy.cmu.edu/papers/Elliott_Anderson95-abs.html
I hope it might be helpful for you.
P*****s
发帖数: 375
40
来自主题: Science版 - Science Breakthrough '99 (6) Memories
Making memories.
From an old nursery rhyme to the name of someone you just met, memories of all
kinds are etched into your brain by a molecular cast of epic proportions. The
actors in this drama are molecules rushing into and out of the synapse, the
gap between neurons. Their movements strengthen the connections between certain
neurons, making those synapses more likely to fire in the future. Exactly how
the enhanced firing calls up and stores memories remains a mystery, but this
year researcher
p*****n
发帖数: 15
41
来自主题: Statistics版 - SAS memory management
Someone told me data analysis in SAS is very slow because SAS does a lot of
disk I/O. I am new user of SAS. Can anyone explain how SAS exactly manages
the memory and I/O usage? For example, suppose I am manipulating a dataset
with size 1G on a server with memory 64G, will SAS put all the data into
memory? Are there some official documentation about this? Thanks
S******t
发帖数: 1437
42
来自主题: Statistics版 - Matlab Out of Memory 的问题
I want to calculate the following:
X*Diag(y)*X'
Diag(y) is a diagonal matrix I generated from a vector, e.g. if y=(1;2)
Diag(y)=[1 0; 0 2]
Now the problem of this is when the length of y increases, Matlab gives me
out of memory error and doesn't calculate it.
So I need to use an alternative expression of X*Diag(y)*X'.
电脑系统是XP 的, 试了很多allocate memory 的方法也不行, 这个对角阵根本连
load 都load不进 Matlab, 一尝试就是 out of memory.
大家有什么好建议吗?
h**********e
发帖数: 44
43
换个work folder吧。这不是真正意义的memory insufficient。如果真是memory不够了
智能改算法或者扩大memory
y********0
发帖数: 638
44
来自主题: Statistics版 - Memory Error in pandas.concat with Python
【 以下文字转载自 DataSciences 讨论区 】
发信人: youyou2010 (悠悠), 信区: DataSciences
标 题: Memory Error in pd.concat with Python
发信站: BBS 未名空间站 (Mon Aug 24 15:22:34 2015, 美东)
I am more recently working with 80 dataframes in python each of which holds
650K rows with the same 11 columns varying from string to number. My initial
goal is to concatenate all dataframes and make a general analysis but I keep
hitting the dead ends in doing so.
1. I started from pd.concat([df1,df2]) but ended up with memory error and
fai... 阅读全帖
f****y
发帖数: 61
45
来自主题: board版 - 申请MEMORY版版主
现任BM任职已超过四个月.本人一直非常喜欢并关注
MEMORY版.每次上站只去少数几个板,MEMORY就是其中
之一.
上任后一定不辜负广大虫虫的希望,会每天来查看版面,
及时MARK好文章,并且会建立一个更好的精华区.现在的
MEMORY有点太萧条啦,我会努力让这个版活跃起来,欢迎大
家都来分享自己心底最美好的记忆.不会轻易封人,尽量
迎造一个轻松自然的环境.
恩,第一次正而巴经的申请BM,TS了几句,还望大家支持.
多谢.:))
M****y
发帖数: 116
46
来自主题: board版 - 申请Memory版主
是否已阅读:1)《站规》2)《版务操作简易手册》?:
已阅读
[申请ID]:
Memory
[申请版面]:
Memory版
[申请职务]:
版主
[版务经验]:
曾担任Memory板斧
[申请纲领]:
继承如烟传统,继续保持版面轻松的风格,给大家提供一个灌水聊天,抒发心情的场所
。我们的口号是: 如烟茶馆,累了,进来坐坐。
[版规草案]:
1. 在不违反站规的前提下,最大程度的保证版上id的发言权。让大家能够畅所欲言。
不禁止灌水,水贴会定期清理。
2. 维护版面讨论秩序。 封禁PA,GA,广告贴(及ID)
uq
发帖数: 1004
47
来自主题: board版 - 申请Memory版版主
支持!
目前还有劳柯,memory申请版主
感觉也都是不错的人选
如果一定要选一个的话
我投香主一票
过去一年多时间里,香主为如烟带来很多温馨与欢乐
版上还有很多美文与诸位共赏析
香主同时具有丰富版务经验,在贝壳版,经典游戏版
都非常认真负责
希望站务斟酌,谢谢
==============================
发信人: parfume (月淡风清), 信区: board
标 题: 申请Memory版版主
发信站: BBS 未名空间站 (Wed May 12 16:42:10 2010, 美东)
是否已阅读:1)《站规》2)《版务操作简易手册》?:

[申请ID]:
parfume
[申请版面]:
Memory
[申请职务]:
版主
[版务经验]:

[申请纲领]:
过去的时光已经过去了,我们不能追回来;未来的一切都是遥远的,即不可望更不可及
,我们唯一能做到的,就是踏实的掌握现在的一刻。只有认真对待现在的每一刻,我们
才会有丰富的“往事”,才会活得更精彩。
认真对待每一天,认认真真灌每一篇水
[版规草案]:
1. 在不违反站规的前提下,最大程度的保证版上id的发言权
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)