On your end all you can do is start a new client every time you start a script and remove all unnecessary local scripts you have in your scripts folder, your best bet would be writing a detailed bug report in the client bugs & suggestion section with all information about your operating system
EDIT: also try starting with -mem 1024 flag from CLI