如何在IE中停止过度使用内存? [英] How Do I Stop Excessive Usage Of Memory In IE?
问题描述
我在MVC web应用程序中使用plupload库来上传3种版本的plupload(core / ui)的多个图像(大约10mb或更多) / queue),我想使用ui版本,因为它允许缩略图视图(因此可以预览你要上传的图像)。
场景:
核心/队列:在我使用的任何关于内存使用的浏览器中,一切都很好
ui:当我使用Chrome时,内存使用绝对没有问题。然而,当我在IE中做同样的事情(在这种情况下是IE11)时,只有9个文件(大约5个大小超过4mb)的内存使用率高达1GB以上,即使刷新了页面。
为了确认Chrome没有问题,我选择了相同的图像集大约4或5次(总上传超过200mb)并预览在ui风格完美和上传完美,几乎没有关于内存使用的凸起。
在IE浏览器中,我只将一组内存从25mb上升到类似1.3GB的内存,完全没有内存释放。在某些时候,我只是让浏览器打开,内存显然已经释放。但是,如果我尝试选择更多文件,我会得到没有足够的存储空间来完成此操作例外。
有没有人有关这个问题的解释或(希望)为我提供这个问题的解决方案吗?
提前致谢!!!
编辑:我已经确认在ui模式下运行plupload(或我找到的任何其他多文件上传器)的演示会产生同样的问题。当我在IE中从本地文件运行此测试时,它会提示我激活一个ActiveX控件(Flash?)。如果是这样,这是疯了,因为从IE10我认为应该支持HTML5?我可以强制IE使用HTML而不是注意到的ActiveX控件吗?
Hi,
I am using plupload library in MVC web application to upload multiple images (some 10mb or more) of the 3 flavors of plupload (core/ui/queue), I would like to use the ui version because it allows for a thumbnail view (and hence a preview of the image(s) you want to upload).
Scenarios:
core/queue: Everything is fine in any browser I use regarding memory usage
ui: When I use Chrome, memory usage is absolutely no issue. However, when I do exactly the same thing in IE (in this case IE11), just 9 files (about 5 being more than 4mb in size) memory usage shoots up to over 1GB and does *not* go down even if I refresh the page.
Just to confirm that there was no issue with Chrome, I chose the same set of images about 4 or 5 times (total upload over 200mb) and it previewed in ui flavor perfectly and uploaded perfectly with hardly even a bump regarding memory usage.
In IE, I loaded up just the one set memory shot up from something like 25mb to something like 1.3GB with absolutely no memory releasing. At some point, I just left the browser open and the memory apparently got released. However, if I tried to select any more files, I get a Not enough storage is available to complete this operation exception.
Does anyone have an explanation about this issue or (hopefully) provide me with a solution to this issue?
Thanks in advance!!!
I have since confirmed that running even the demo for plupload (or any other multiple file uploader that I have found) in ui mode produces the same issue. When I run this test in IE from a local file, it prompts me to activate an ActiveX control (Flash?). If so, this is insane since from IE10 I think HTML5 should have been supported? Can I force IE to use HTML instead of the ActiveX control noted?
推荐答案
我设法半解决了这个问题。基本上,因为IE太棒了,我只是选择使用其他视图选项(队列)来控制相关控件。感谢Micro-Sn0t开发了这么棒的浏览器。
话虽如此。我真的希望其他人看到这个,这样他们就可以知道在应用这种特殊技术时会遇到的问题。
I managed to "semi" resolve this issue. Basically, because IE is so awesome, i just opted to use the other view option (queue) for the control in question. Thanks Micro-Sn0t for developing such an awesome browser.
That being said. I really hope other people see this so they can know the issue which they will encounter when applying this particular technique.
这篇关于如何在IE中停止过度使用内存?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!