I sometimes really hate Windows. When you do obligatory updates sometimes it takes hours for operating system to settle down and stop using CPU and memory like crazy.
One of these processes are mscorsvw.exe and ngen.exe which do some .NET assemblies optimization. I read about a lot of angry posts about these processes and that it takes hours “to optimize” and during these hours your server and services on it are suffering (and you need to be clever when finding explanations to your clients).
Follow these steps:
- Navigate to the following location in Windows Explorer: C:\Windows\Microsoft.NET\Framework\v4.0.30319
- Run an elevated command prompt and change the current directory to the following directory
- Type ngen.exe executequeueditems, and press ENTER
- Wait until you receive the following message at the command prompt: All compilation targets are up to date.
This annoying processes stopped but now TiWorker.exe is taking his time and eating the CPU and Memory and it looks like it will take 3-4 hours. Yikes! I really hate Windows programmers for this hidden background CPU and Memory eaters.
I faced today strange problem that I could not connect to Windows server through Remote Desktop Connection. When I click “Connect” it disconnect me immediately. Restarting the server didn’t helped.
Here is the simple trick how you can connect…
- Open RDC dialog and click on Show Options
- Go to Advanced tab and choose under If server authentication fails option Connect and don’t warn me
- You are now successfully connected after pressing the Connect button
Glad to hear if this saved you day. You can Tweet this solution so help someone else.
If for some reason you are getting multiple duplicated emails in Thunderbird and can not fix that this is the recipe:
- Close Thunderbird
- Go to you email directory – you can find the path in your email Account settings
- Delete the popstate.dat file
- Start Thunderbird and check for new mail
If you have faced a problem when importing your data to MySQL from a large file and it said:
ERROR 1118 (42000) at line xxx: Row size too large (> 8126)
This is a known bug for MySQL versions 18.104.22.168, 22.214.171.124 and I noticed that I didn’t have this problem at version 5.6.24.
In order to make it work also on MySQL 126.96.36.199 edit your “my.ini” configuration file and increase the innodb log size like this:
innodb_log_file_size = 256M
Hope it solves you the problem, like it helped me, one beer is always welcomed :-).
There are a lot of system stuff that just eat important space in Windows on disk C (if you have SSD and smaller C partition you don’t want to run out of space).
The best way is to create a junction (symbolic link) and to move some big folder to another partition (you need to have one first).
By doing this Windows will be fooled because you will get the same path but it will be shortcut (pointer) to another real location.
To do this move completely chosen folder to another partition and create symbolic link like this:
mklink /j c:\windows\MyMovedFolder d:\MyMovedStuff\MyMovedFolde
Summer vacation is coming in a few months. Ever been in Corsica? You should go to see it if you didn’t.
It is a beautiful island with amazing beaches, villages and mountains. Ajaccio, born place of Napoleon, has the best city beach I have seen in my life. Usually you try to avoid them.
The best beach on island is Capo di Feno. Don’t miss to visit Bonifacio.
Here are some photos…
You need to be in the centre of these circles.
Ikigai is a Japanese concept meaning “a reason to get up in the morning”, that is, a reason to enjoy life.
(Source: found somewhere in Facebook posts)