我们都有过内存溢出的编程经历。
注意,生成任务的原因是内存溢出这一条件。
Notice that the reason the task was generated is a memory leak condition.
尝试着解决内存溢出问题。
文件句柄泄漏或内存溢出的可能,要在黑暗中刺。
File Handle leaks or Memory Overflow perhaps, to take a stab in the dark.
图13:eurekaj堆图显示内存溢出错误的一种可能情形。
Figure 13: EurekaJ Heap chart showing one possible scenario for Out Of Memory error.
就算没有内存溢出,当内存消耗很高时GC的开销也会很大。
Even when it didn't actually run out of memory, the GC overhead was just too high when memory consumption was high.
过去,内存溢出并没有对前端开发工程师造成很大的麻烦。
In the past, memory leaks haven't posed huge problems for Web developers.
这个例子中,程序内存占用快速上升,直到产生程序内存溢出。
In this example the applications memory usage increased rapidly, to a point where the application simply ran out of memory.
这种内存溢出完全是页内的,只要发生了跳转,溢出的内存就被收回。
This script leak is entirely within a page and when you navigate away then you get your memory back.
预览进程可能会因消耗大量资源而表现不佳,并很可能最终导致内存溢出的异常。
The preview process would likely consume very large resources resulting in poor performance and is likely to end up with out-of-memory exception.
分割批量更新调用,以保持生成的XML足够小,不会出现内存溢出异常。
Split up batch update calls to keep the generated XML small enough to not run into out of memory exceptions.
2011年1月2日更新:添加可选高亮颜色选项,修复内存溢出故障。
2nd January 2011: added option to pick row highlight color. Also fixed the memory leak problem.
关于为什么会发生内存溢出异常的更多深入的讨论,可以参看我先前的帖子。
For a more indepth discussion on why you get Out of Memory exceptions see my earlier post.
每个前端开发工程师都会建立一个自己的那些可能会内存溢出的代码示例列表。
Every Web developer builds a personal list of code examples that they know leak and learns to work around those leaks when they see them in code.
图3显示了运行上述示例代码的结果,其中显示了“内存条件:内存溢出”条件的结果。
Figure 3 shows the results of running the example code above, showing the results of a "memory condition: memory leak" condition.
这一漏洞是由程序在内存溢出的情况出现时,以不安全的方式载入可执行文件而引起的。
The vulnerability is caused due to the application loading an executable file in an insecure manner when an out of memory condition occurs.
在执行上述包含了50000个批量更新的例子的时候,我就遇到了OOM(内存溢出)。
I ran into an OOM when executing the above example with 50000 batch updates.
发生内存溢出在大多数情况下是因设计问题引起的,太多的内存存储在缓存或Session中。
Most of the time when an Out Of Memory exception occurrs it is caused by a design problem, where either too much memory is stored in cache or session scope.
如果程序出现不正常的高内存负载、频繁无响应或内存溢出,通常最好的分析切入点是查看内存对象。
If your application is experiencing unusually high memory load, frequent freezes or OOME, its often most useful to start by understanding just what kind of objects are present in memory.
如果应用服务系统可以指出在它上面运行的程序是否内存溢出,在需要时又能自动重启,这岂不是一件很酷的事?
Wouldn't it be cool if the application server could figure out if an application running on it had a memory leak and could restart itself when necessary?
B:当使用高清晰度的图像时,打印预览将消耗大量资源,在某些情况下甚至会因为性能太低和内存溢出而无法使用。
B: When using high resolution images, the Print Preview will consume large resources and in some cases it will not even be usable because of low performance and memory overflow.
该方法有效地避免了一般复用距离分析可能导致的内存溢出问题,同时使得复用距离分析达到线性时间复杂度。
This method avoids possible memory overflow problem in normal reuse distance analysis, at the same time this method makes complexity of reuse distance analysis decrease to linear.
在我们的测试机上,当在测试进度中允许默认的记录时,超过五个用户参与的短期(10分钟)测试就导致了内存溢出错误。
On our test machine, short-term (10-minute) tests with more than five users caused out-of-memory errors when default logging was enabled in the test schedule.
增加该特性的目的在于解决旧版本的ActiveMQ中一个常见问题:当使用非持久化的消息时会导致内存溢出。
This feature was added to address a common problem in previous versions of ActiveMQ with running out of RAM buffer when using non-persistent messaging.
然后,服务器管理员则必须处理由此导致的 “内存溢出”错误,集群环境中的服务器相似性,以及服务器重启时的串行化异常。
Server administrators then have to deal with the fallout in the form of "out of memory" errors, server affinity in clustered environments, and serialization exceptions on server restarts.
如果我们运行上述代码并用任务管理器加以观察,当从这个页面跳转到一个空白页面的时候,我们并不能发现有内存溢出。
If you run the above code and use the Task Manager trick again, while navigating between the "leaking" page and a blank page, you won't notice a script leak.
而根据veracode的Wysopal所说,搜索“gets ”函数——一个臭名昭著的不安全字符串操作——可以揭示很可能易受内存溢出攻击的程序。
And, searching for the function "gets" — a notoriously insecure string operation — can reveal programs that are likely vulnerable to a memory overflow, said Veracode's Wysopal.
由模糊测试导致的许多故障都是内存分配错误及缓冲器溢出的直接结果。
Many of the crashes resulting from fuzz testing are direct results of memory allocation mistakes and buffer overflows.
如果无法将排序的数据整个放入排序堆中(排序堆是每次执行排序时分配的一块内存),它就会溢出到该数据库所有的临时表中。
If the sorted data cannot fit entirely into the sort heap, which is a block of memory that is allocated each time a sort is performed, it overflows into a temporary table owned by the database.
额外的数据溢出到预期存储区附近的内存中,并且覆盖与该区域的原始用途无关的数据。
The extra data spills over into memory near the intended storage area and overwrites data that may have nothing to do with that area's original purpose.
应用推荐