Monday, 13 November 2017

Matlab Java heap space out of memory problem

If  a user complains that their new Matlab install is running very slowly, consuming excessive amounts of memory and says 'processing' when they are not running any scripts then there may be a Java heap space problem. This is often accompanied by the following error in the Matlab console:

java.lang.OutOfMemoryError: GC overhead limit exceeded

A possible solution is to change the 'Enable Mathworks source control integration' setting from it's default value of  enabled to 'none'. The setting is found under Home->Preferences->General- >Source.


According to Mathworks the default setting was from version 2014b onwards.

Friday, 10 November 2017

The correct way to uninstall Sophos Endpoint Security and Control from a Windows workstation.

  1. Move the workstation out of the Sophos synchronized AD OU into a non synched AD OU.
  2. Reboot the workstation.
  3. Delete the workstation from the Sophos Enterprise Console.
  4. The Sophos Endpoint Anti-tamper protection must be disabled before you can remove Sophos anti-virus. You need a password for this.
  5. Log in to the computer with a Sophos Administrator account.  The administrator account may be your normal Windows account if you maintain your own computer.
  6. Make sure that an update is not currently being performed. You can check this by right-clicking the Sophos shield in the system tray of the taskbar and ensuring 'View updating status' is grayed out and cannot be selected. If an update is currently in progress wait for it to complete before continuing.

  7. Open Windows services (Start | Run | Type: services.msc | Press return), right-click on the 'Sophos AutoUpdate Service' and select 'Stop'1.

  8. Open the Add/Remove Programs (or Programs and Features) window (Start | Run | Type: appwiz.cpl | Press return). You can also access the Windows 'Run' box by press Windows+R on your keyboard.

  9. Using the list below remove the Sophos components installed on your computer in the order shown. If you cannot find one or more components listed below it may not be installed and you can move on to the next item. You do not have to restart the computer until you get to Step f.
    1. Sophos Patch Agent
    2. Sophos Compliance Agent (NAC)
    3. Sophos Network Threat Protection
    4. Sophos System Protection
    5. Sophos Client Firewall (SCF)
    6. Sophos Anti-Virus (SAV)
    7. Sophos Remote Management System (RMS)
    8. Sophos Management Communication System (MCS)
    9. Sophos AutoUpdate (SAU)
    10. Sophos SafeGuard components
    11. Sophos Health
    12. Sophos Heartbeat
    13. Sophos Endpoint Defense

  10. Restart the computer.

    The information in this blog post is an edited version of a Sophos Knowledge Base article found here.

Friday, 8 September 2017

Default printer settings OS X

How to save your chosen printing presets as the Default Settings.


Once you have created the settings you require, e.g. duplexing turned on, and saved them, you should select them from the Presets dropdown whilst holding down the Option (Alt) key, this will then set them as the default for printing for every software package.

Thursday, 7 September 2017

Windows 10 Safe Mode

On certain devices it can appear to be hard to get into Safe Mode in Windows 10, e.g. Microsoft Surface Pro 4. If your device has failed to the point of not booting Windows and the F8 key is not working then if you can get a Windows 10 recovery drive set-up you can boot your device, once you have selected Language and Keyboard options select Troubleshoot > Advanced options > Command Prompt. At this stage if you have a bitlocked hard drive then you will be required to enter you key.

Once done you can gain access to the C: drive, then enter the following in the command window

  • c:
  • bcdedit /set {default} bootmenupolicy legacy
  • exit
Then select Turn off your PC and the boot your device and repeatedly press F8, this should hopefully get you into a similar set of screens to the recovery drive but this time there will be an option to access boot options which include Safe Mode.

Friday, 12 May 2017

Equallogic Snapshot error

Dell Equallogic PS arrays have a new "feature" introduced from firmware version 8 onwards, this feature warns you if your snapshot space is below a 15% threshold. It looks something like this

"WARNING event from storage array EQLName
subsystem: MgmtExec
event: 8.3.65
time: Wed Jun 12 00:00:05 2016

Free space is below threshold of 15 percent for pool PoolName. Default Snapshot Schedule will run with max-keep set to 1."

Now if you are not using snapshots or do not need to be reminded every day that this situation exists then you can do the following via the CLI.

To disable the default policy run the following commands:

To verify: grpparams default-snapshot-sched show

To disable: grpparams default-snapshot-sched disable

Getting OS X to show logon boxes on log in screen

Occasionally you can be presented with an OS X logon screen which only shows a single users icon and their password box, normally the last person logged on. There then appears to be no obvious way to log in with a different account, there is a Cancel option but that just does not help. To get round this you press the Command+Option+Control+Enter keys together and you will then be presented with a standard logon box for username and password and can now login as normal.

Monday, 13 March 2017

Opening Startup folder

How to open the Startup folder in Windows 7 and 10

1.    Use the keyboard shortcut Windows key + R to open the Run box.
2.    Type and enter “shell:startup” (no quotes and no spaces).
3.    Click “OK”.

The Startup folder will open.