Running out of memory whenever trying to draft an email at gmail from Edge - windows-7

I have been using my antique pc with a bit of stress at times and full of gratefulness at other times, but starting from yesterday, my old pc began stressing me out, and, most importantly, I couldn't fix it just by following a few tutorials on the internet.
Yesterday, when I wanted to draft some emails on Gmail from MS Edge, which I have been using since it is considered the most RAM-friendly, it crashed, and the crash continued no matter how many times I refreshed the page or restarted the pc. It says the error code: Out of memory
Sure enough, opening the task manager tab, I saw that MS Edge was using about 3000000k or 300 Mb, and it also displayed roughly 90% of memory was being used when the Gmail tab is only open and no other activity was going on. For a different person, the result may seem obvious, but my pc has been working somewhat ok, at least it wouldn't crash for just opening a Gmail tab and drafting an email. Therefore, it is not a normal occurrence from my perspective.
Do you know what is the strangest thing? My PC's performance has gotten better; for example, while asking this question, nothing happened, and it is responding extremely quickly as if I am working on the latest laptop haha. Then, what happens when entering Gmail?
Ok, here are a few pictures that may be useful.

Related

Android Emulator on Mac unexpectedly sending terabytes of data per hour

I'm an iOS dev currently working on a android app (so very inexperienced with Android).
If I leave my android emulator instance open it sends huge amounts of data, 10's of GB's per minute slowing down my network. I just left it running for a couple of hours and it has send 11TB of data (yes that "T" is correct) (for context the next item in activity monitor has sent 300mb in the same period). (All according to Mac Activity Monitor anyway).
The activity monitor item is qemu-system-aarch64. I understand this to be emulator, as soon as I close emulator this data sending stops and if I force stop this process emulator quits.
I have deleted devices and created news ones running a variety of android versions and all seem to have the same issue.
I'm confident the data is not sent by my app.
Restarting Android Studio/Emulator/the Mac doesn't change anything
I can't see any large amounts of data being send via Proxyman or Little Snitch so I have no idea what's actually being sent or how to stop it.
My next move is to re-install Android Studio from scratch but would ideally like to know what's going on to prevent it in the future if this does solve it.
Does anyone have any experience with this problem or ideas as to what causes it? Any ideas on how to see what's being sent?
Any general nudges in the right direction would be greatly appreciated!
Thanks!

AutoHotKey permanently changed my keyboard keys, even at the bios level

Recently installed AutoHotKey to remap some keys in order to play a video game. It seemed simple/attractive enough at first. Was not really sure of how it worked but found the .chm file in the download which states in the first line of Usage & Syntax/Using the program:
AutoHotkey doesn't do anything on its own; it needs a script to tell it what to do.
Sounds 'secure' enough to me. Seems like mature software. Maybe overkill (now I know it certainly was overkill) but let's just see how it works.
My remapping was simple enough: change the AWSD keys for the LEFT-UP-DOWN-RIGHT keys. Script syntax is simple enough, just used an example that comes with the install files. Works essentially as expected. Got an annoying pop up after playing the game for a bit from AutoHotKey saying "you've pressed mapped keys 600 times" or something like that. Which was only a little annoying, so I ignored it the first few times. The game I play is real time so getting a even a 5 second interruption while in a match would mean certain loss, so I decided to just disable the script and uninstall.
Lo and behold: when I stop the script, the keys continue to be remapped. Was there some background process running? Maybe. I rebooted only to find that on my Windows login screen my keys continue to be remapped. Huh? Did AHK mess with some registry bindings or something?
I do not know that much about how Windows works, but my vague recollection is that registry bindings is something is active once the OS is active. I search on the web for say 1 hour before I give up for the time being and I end up activating the script again in order to write normally. This works as expected and I literally forget about it until any time I have to reboot.
Honestly a minor annoyance, but due to the world changing very quickly I lately have very few precious minutes that I can actually sit down on my desktop, whereas I used to be able to spend hours on this type of computer issue in order to get to the bottom of it. In other words, my current solution felt good enough. But not anymore. I think something more serious and possibly nefarious may have occurred. I don't want to seem dramatic but I just discovered something else a few minutes ago.
I have a Linux installation on another drive and I just happened to want to load it up after my last Windows blue screen (have gotten a couple of those lately, literally 2 in the space of 2 days and this had maybe only ever happened once before, like 2 years ago, so I am a already concerned about a possible deeper issue). My firmware/bios has a password and guess what I found when I tried inputting it: the keys were still remapped.
At this point I am at a complete loss. I didn't even think this sort of thing was possible. Some OS level software caused a change that was able to be reflected on the bios? Did it affect the keyboard driver? A driver that both windows and the motherboard bios use?
What else have I tried or looked at:
Device Manager claims my Keyboard has 3 instances of "HID Keyboard device". Not entirely sure why it shows 3. Properties show it has 2 driver files: kbdclass.sys and kbdhid.sys, which I suppose are some standard drivers. Not sure how to proceed.
My keyboard is inland (cheapest i could find at microcenter) i am not sure why I cannot find the website for that company. Found some drivers on reddit but they are on some sysadmin's google drive. I will download that exe when i am desperate...
UPDATE
I 'solved' the issue bye getting another keyboard (an old IBM KB-0225) and everything is now in order. I tried disconnecting the Inland keyboard and reconnecting, but after reconnecting I was still experiencing the same issue.
I don't know if I should close this question as there is no longer an issue, but I would like to see if anyone has any other additional theory as to why some software/driver changed occurred inside a keyboard device. As far as I knew, these devices have not internal memory other than possibly some logic gates.
There must be a background process running.
to check that:
note : For windows 10
On your taskbar, click on the ^ button (skip this step if there is no such button)
right-click on the sign.
click on "exit"
If the above steps do not work, try keeping a watch all the time, to see if you notice something uncommon.

Prevent screen-lock / sleep-lock / password-lock / etc on Windows 10

I have a computer-based test that takes several hours to complete.
However, the test is timed-out at some point, because my PC "goes to sleep in one way or another".
This is possibly related to the fact that the test consists of two processes which communicate with each other via port, so I'm suspecting that perhaps networking is disabled in some way (even if it's completely "local networking").
I have disabled both screen turn off and sleep in the Settings "page", under Power & Sleep.
Still no luck, the screen is locked with a password at some point, which I suspect causes the test to stop running in the background.
I even followed a procedure that I found on the web to disable screen-lock via Regedit in something like 18 steps (why on earth did this company figure out that this is a reasonable user experience).
Is there a solution to this problem?
Found a (very hacky) solution:
If you keep all windows minimized, then the screen doesn't get locked.
What a great operating system, by such a great company!!!

Mainframe problems, due to internet drops

Apologies at forehand, for the amound of information, but I tried to be as thorough as possible. If any information is still needed, please let me know.
Background:
I am a junior mainframe programmer, who started out a few months ago with learning the mainframe. I know my way around pretty well, when it comes to jcl, cobol etc, but when it comes to maintenance of the mainframe, I'm not all that familiar.
I'm currently following a course, using the mainframe of the institution (which is an emualtor, not a real one). Sadly my teacher is still learning how to maintaine a mainframe, so he doesn't really know either. So calling the tech department is not an option.
Basically I am hoping that someone here, heared of the problem before. I don't know where to look. If the problem is in my wifi connection, or if it is with the mainframe. Seems to go both ways.
Specifications:
My OS: Windows 7
Laptop: HP Elitebook, with dualboot Windows7 and Linux
Mainframe emulator: Tom Brennan's Vista TN3270, Z/OS
Just in case I added my Vista.ini below
Connection: through external ip adres
N.B. I have reinstalled wifi drivers, this didn't do anything.
Problem:
The mainframe workt properly up until 2 weeks ago, when my provider performed some maintenance on the internet in my neighbourhood. Since then, I am experiencing internet drops. They happen every +- 5sec and last (as far as I can tell) around 20-30 ms (both on wifi and cable).
It is not long enough for the browser and other applications to notice. Even my windows doesn't notice the drop. My mainframe connection however does notice the drop. My connection with the mainframe is not lost completely. The screen stays open and visible, but pressing any button does nothing. I then have to close vista, reopen, loggin again and then it works fine. Till 5 minutes later, when it starts over again.
Last night I pinged the IP and at the same time, pinged google, in order to figure out if it whas only the mainframe connection with a problem, or not. The ping did fine for minutes on end, until I started Vista after a few minutes and then both pings crashed instantly, couldn't send or receive any packages anymore.
Extra info:
I called my provider and they send a tech guy, they say there is nothing wrong with my internet connection.
Connecting to the external IP adres, from another wifi connection gives me no problems. It only goes wrong from my home addres / wifi.
Other people on the same mainframe have no problems, no mather where they are.
There is another mainframe I can reach and that one does not seem to have any problems what so ever.
Other ssh / external connections to other IP adresses don't give me any problems.
I tried testing it on Linux and other computers, but without having Vista to try, i don't now how else to test the problem. Since browser and other applications have no problems.
I get no message what so ever when the mainframe connections stops.
I looked at a number of logfiles on the mainframe, but basically I don't know which ones I need to find a possible clue or answer.
If someone knows anything, even just to send me in the right direction, it would be very much appreciated. Having to reconnect every 5 minutes is starting to be really annoying and keeps me from my studies/work.
[Vista]
LastSession=standard.ses
Hostnames=
IPnames=
Portnums=3270,23
TN3270E=1,1
SSL=0,0
Lunames=,
KeepAliveTime=60

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