Internet explorer 11 "Not enough storage" error - ajax

When I try to get an ajax response around 100 mb I get this error:
Error: Could not complete the operation due to error 8007000e.
“Not enough storage is available to complete this operation”
I don't get such errors with other browsers.
Why does it happen ?
I use IE 11. Windows 8.1 64bit 16GB RAM

I had a similar problem with one of applications. The same stuff worked well in Firefox and Chrome. In my case IE failed when it consumed more than 1.2 GB memory. I also noticed memory management was better in Firefox and Chrome and it stayed less than 800M all the time.
If you have a similar situation you can capture memory footprints from IE and other Browser using developer tools to get further clue. In my case problem was due to a third party component application used.

It looks like you've reached the quota for your local browser storage. Here's a link you can refer to see the various storage limitations of each browser.
http://www.html5rocks.com/en/tutorials/offline/quota-research/
If pulling the request.reponseText doesn't throw the error itself (without the JSON.parse-ing), try to consider storing it in an IndexedDB. As per the link above, IE11 can hold from 100MB of data
Steps on how to create one can be found here:
http://msdn.microsoft.com/en-us/library/ie/jj154905(v=vs.85).aspx
http://hacks.mozilla.org/2012/02/storing-images-and-files-in-indexeddb/

Related

Running firefox remotely suffers from X11 bottleneck. Why is JupyterLab (running from same Linux server) different?

I want to deploy my machine learning web app on a Linux server. I find that when I open Firefox (remotely via Mobaxterm), it is too slow due to the X11 bottleneck.
Now I have access to Jupyterlab (directly accessible from the browser) running on the same Linux server which works without any delay.
Why is it so? What can I do to run my Flask app through Firefox without the delay, same as with JupyterLab?
(Your support in editing the question to make it clear will be appreciated)
Try out:
Put in the firefox address bar:
about:config
(click yes on the warning)
Look up:
gfx.xrender.enabled
set it from (default) False to True.
This is over ssh over local wifi....
without xrender, firefox versions of last several years would spend about 0.5-2 seconds per window sending the window content as some kind of raw, uncached image.. not terrible, but if you scroll it would just do 0.5-2 second a pop readraws as it scrolled, so not too good either. More recent versions (maybe due to webrender being on by default?) seem to send MB after MB after MB of traffic for like 30 seconds or more (don't know if it's from the page-load spinner or what), once the page does load it actually scrolls fast (the X server must have a local copy of the page content) but it takes far to long to get there.
xrender, it sends pixmaps to the local X server too, but uses a surprisingly low amount of traffic doing so. Pages like stackoverflow and lighter comic sites load indistinguishable from a local copy of firefox; sites with heavy graphics may spend a second or two sending the large graphics, but then they're in the local X server and the page scrolls around and operates at full speed.
Running xrender if you run firefox locally doesn't seem to cause any harm either (i.e. you don't have to turn the setting on and off depending on if you are using firefox remotely or locally.)
Enjoy the speed!
Cheers!
--Henry

Power BI using 90+% CPU while doing.. what?

I have a 9Mb PBIX containing small tables and one table with 250k rows. Data imported from various xlsx & JSON sources. Machine is Windows 10 Pro, 2.6GHz, 64 bit, 16GB RAM.
On the Power BI service online the performance is ok, but on desktop it's practically unworkable. With task manager I can see that it is using 7Mb of memory, but almost 100% CPU, half an hour after opening - while on a blank tab with no visualisations.
I don't understand what it is doing in the background and how I can improve the situation.
There is the 'Allow data preview to download in the background' setting, but I think this is only relevant to the query editor? Would clearing the cache or changing cache settings help?
I am aware of performance analyzer and the query diagnostics tools, but neither seem relevant since the queries are not refreshing and there are no visualisations loading.
Am at a bit of a loss - any help greatly appreciated.
Thanks
Update: Having disabled parallel load and background refresh in Data load settings I noticed that finally the issue seemed to go away (though not immediately). Eventually, when reopening the pbix, mashup containers did not appear and CPU and memory was not being killed. Then at some point Power BI got stuck and had to close and the problem reappeared even though the data load settings were still disabled. Restarting the machine seemed to clear the problem once again.
It seems then, that some zombie processes can persist through application close and re-open. Has anyone else noticed this, can confirm or refute it, suggest what is going on or any steps on how to avoid/prevent? It's very annoying!
Thanks
I have also noticed the same issue, for opening 5 mb pbix file, power bi eating 12 GB of memory, and 90%+ CPU utilization, Power BI Desktop is poorly managed product by Microsoft.

IIS Web App performance issues....MVC3

I have an MVC3 C#.Net web app. It is running on IIS 7 on Windows Server 2008 R2. We are noticing significant performance issues when initially loading a page. We are using nHibernate and have found that performance to be slow in some instances. But all pages, even simple ones, behavinging similarly. I'm not really an IIS stud so.....
Am I missing something in IIS....a setting or action that I can tweak to improve performnce?
I had a similar issue running a site on a shared host that only allocated 100MB RAM to an application pool. When you exceeded that IIS was set to recycle it. The app generally ran at about 120MB so was constantly recycling. Each page was loading painfully slow as the whole thing started up again. Increasing the RAM available to the app pool fixed it.
Another thing that I'd try would be to set up SQL profiler and watch the queries being sent to the db. You can configure it to report the duration column in a smaller increment than the default (microseconds perhaps?) which makes the painful ones stand out. You can then pick up ones that are suspect, run them through query analyser with "display execution plan" switched on and examine the subtree costs. Perhaps NHibernate is generating nasty queries or perhaps too many?

Uploadify on MAC

i noticed that mac and the flash-plugin gets in conflict when doing multiple uploads.
There's no problem when it's only 3 or 5 files, but when the amount of files is higher then uploadify just stops uploading. The plugin kinda crashes.
Strangely on windows there is no single problem with multiple uploading.
I upgraded Flash, both on mac and windows. I checked the sessions-id's, i checked this forum, the forum at uploadify.
But can't find where to search for...
Can somebody give me some clues about what to do.
Thanks,
Dave
I am also using uploadify v3.2.1. I came here looking into why it isn't working for some mac users, but stumbled upon your question and seeing it has no feedback on it, I will try to point you onto something that could be a solution....
Are you using PHP? If yes; Did you verify that the total post size is not going above what is allowed for php?
The php.ini file has the setting for post size limit, if the amount of images in one request goes beyond that which is set in the php.ini, it may be causing this, as you only get it when uploading more than 3-5 files (which can amount to a size over that limit) and not when uploading less than that... try raising the post size limit and then retrying the upload file-set that fails right now...

What is the "Cannot set allocations" error, who emits it and what can I do about it?

We've been plagued for several years by occasional reports from customers about a non-descript error message "Cannot set allocations" that appears on startup of our app. We have never been able to reproduce the problem in our own test environments so far. I have now run out of ideas for attempting to track this down. Here's a collection of observations that have accumulated over time:
Error message text reads "Cannot set allocations" (note absence of punctuation).
The window title simply reads "Error" (or the localized equivalent).
The "Cannot set allocations" text is always in English regardless of OS locale.
I have so far not been able to locate the DLL or EXE containing the message text.
Google is chock full of reports of this error for a variety of different products - but no solutions.
The only unifying aspect between the affected products I could make out so far was that they all appear to come in the form of DLLs that load into third-party processes (such as addins for Visual Studio or Windows Explorer shell extensions).
Our app is actually a shareware COM-addin for MS Outlook, written in Delphi (i.e. native code - no .NET).
The prime suspect in our case is the third-party licensing wrapper that we're using which decrypts and uncompresses our DLL into memory on the fly. Obviously I couldn't simply give an unprotected version of our app to the affected customers to verify this suspicion. Maybe the other vendors that this has been reported against are using similar products.
Debug versions of the protection wrapper supplied to us by the licensing vendor yielded no results: The log files looked exactly the same as from sessions where the error did not occur. Apparently the "inner" DLL gets decrypted and uncompressed all right but for some reason still fails to get loaded by the host process.
By creating an unprotected "loader" DLL we have been able to pinpoint the occurrence of the error somewhere behind the LoadLibrary call that is supposed to load our DLL into memory.
Extensive logging and global exception hooks in our own code (both the unprotected loader and the protected "core"-DLL) yielded no results at all. The error is obviously raised somewhere else.
The problem described in this earlier question of mine was very probably prompted by the same issue. This was before we created the unprotected loader stub.
The error only occurs at about 1-2% of our customers - whereas typically all installations at any affected customer's site are affected the same.
Sometimes the error goes away after we release a new version but often it will come back again after a couple of weeks or months.
Once the error has started to occur on a machine it does so consistently.
The error never occurs while connected to the affected machine via remote access (e.g. VNC, RDP, TeamViewer, etc.) and none of the affected customers are within travel distance from us so all we have to go by is log files and "eye-witness reports".
One customer reported that the error message dialog apparently was non-modal, i.e. he was able to simply move the dialog box to the side and continue working with the application (minus the functionality that our DLL would have provided). Not sure whether this is universally true in all other occurrences, too.
In some cases customers have been able to permanently rid themselves of the error by disabling or uninstalling other addins from other vendors that were sharing the host application with our own product.
The error has so far been observed on Windows XP, Vista and 7.
During the last few weeks we had a surge of reports from Outlook 2003 / Windows 7 users. Could the situation have been made worse by a recent Windows/Office-update?
Does anyone have any experience with this error at all?
Or any more ideas for investigating this?
I have only recently had this happen, which prompted my search and I ended up here. I can tell you that with me for sure it is in windows 7 home premium BUT ONLY WITH IE9 (which I hate by the way) it reduces the user back to the dummy stage and assumes that we have to be repeated flagged about everything.It will keep asking you if you want to disable add ons to speed up load times but usually on things that aren't really the things slowing the browser down in the first place,it is there is too much garbage loading in the first place.But back to the "Cannot set allocations", I for one have never expirianced it in any other browser which is not to say it doesn't happen with them.
This is going to be pure guess-work, but it sounds like maybe your third-party licensing software is trying to load your DLL at a particular location in memory, which - on these failing systems - happens to already be occupied by something else, perhaps a global hook DLL.
If you have a customer who is willing to work with you a bit, it might shed some light on the situation to get a crash dump (e.g., with ADPlus or maybe simpler with Sysinternals' ProcDump) when the error message is showing. That would show what modules are loaded and possibly the callstack (if it is from a message box at the time of the error as opposed to one that is catching an exception after the problem).
I also have experienced the "Cannot set allocations" issue. Royal pain. I had disabled Java, since I did not seem to need it, I used add/remove programs to remove Java from my system. Then I stated to get those errors. I have reinstalled, but disabled Java in IE explorer. Now I do not get the error anymore. Not a programmer, don't know why this happened. Maybe a clue for someone.
Win 7 - 64bit OS IE Explorer 10. Hope this helps someone figure this out. John
I've seen this happen. In my case a global hook dll created a large memory file mapping, perhaps to the memory the licensing dll was counting on.
I see "Cannot set Allocations" when I open google chrome only. Also after that, chrome closes with a msg saying "Whoa chrome has crashed..."
Still no solution :(
Also not a programmer, but it always happens when I open Chrome. It opens second window with error message 'cannot set allocation'. I usually close it and go on my way. if i don't it usually causes a crash. doesnt happen on any other browsers.

Resources