线路内存不足 [英] out of memory at line

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

问题描述



i有两个radlistbox。

我转移或拖放到另一个radlistboxes。

当我点击保存按钮,我弹出1022行内存不足。

页面没有1022行。

当这个错误出现时,记录没有保存。



帮帮我。

Hi,
i have two radlistboxes.
I transfer or drag n drop to one-another radlistboxes.
When I click on save button, I got pop up which say " out of memory at line 1022 ".
page doesn't have line 1022.
Record didn't save when this error comes.

Help me.

推荐答案

没有代码或对你采取的步骤有任何想法,几乎无法帮助你。但是,内存不足通常意味着您处于堆栈或堆空间之外。任何一个通常是因为代码中的循环。



我建议寻找一个操作触发事件的地方,这反过来触发一个事件,这是重新触发第一个事件等等。 ui更新方法因此而臭名昭着。



断点和跟踪是你的朋友。您还可以尝试一个性能分析器,它将导致问题的方法归零。
Without code or any idea of the steps you have taken, it is almost impossible to help you on this. However, out of memory usually means you are out of stack or heap space. Either one is typically because of a loop in your code.

I suggest looking for a place where your operation is triggering an event, which is in turn triggering an event, which is re-triggering the first event and so on. The ui update methods are notorious for this.

Breakpoints and tracing are your friend. You could also try a performance profiler which would zero in on the method causing the problem.


这篇关于线路内存不足的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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