Analyzing how much memory a process USES.
分析一个进程使用多少内存。
Choose how much memory to allocate to this virtual machine.
选择你想让虚拟机使用多少内存。
It does not tell you how much memory is currently being used.
它并没有说出当前使用了多少内存。
So let me write that down, it's how much memory do I need to complete a computation.
让我把它写下来,当我计算的时候。
Why not write the program in a way where you figure out dynamically when the program is run how much memory you need rather than hard coding in two with or within that constant.
为什么不写一个可以动态的方式写那个程序,程序可以动态分配内存,而不是用常量硬编码两个值。
And by that, I mean, not how much memory do I need to store the size of the input, it's really how much internal memory do I use up as I go through the computation?
需要占用多少内存,我意思并不是,存储输入需要多少内存,而是当我完成这个?
应用推荐