Can anyone help me with this ShareX Error Code: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at Newtonsoft.Json.Converters.BinaryConverter.CanConvert(Type objectType) at Newtonsoft.Json.JsonSerializer.GetMatchingConverter(IList`1 converters, Type objectType) at Newtonsoft.Json.Serialization.DefaultContractResolver.InitializeContract(JsonContract contract) at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateObjectContract(Type objectType) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveContract(Type type) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.GetContractSafe(Type type) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at ShareX.UploadersLib.ImageUploaders.Imgur.InternalUpload(Stream stream, String fileName, Boolean refreshTokenOnError) at ShareX.WorkerTask.UploadData(IGenericUploaderService service, Stream stream, String fileName) at ShareX.WorkerTask.DoUpload(Int32 retry) System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at Newtonsoft.Json.Converters.BinaryConverter.CanConvert(Type objectType) at Newtonsoft.Json.JsonSerializer.GetMatchingConverter(IList`1 converters, Type objectType) at Newtonsoft.Json.Serialization.DefaultContractResolver.InitializeContract(JsonContract contract) at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateObjectContract(Type objectType) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveContract(Type type) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.GetContractSafe(Type type) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at ShareX.UploadersLib.ImageUploaders.Imgur.InternalUpload(Stream stream, String fileName, Boolean refreshTokenOnError) at ShareX.WorkerTask.UploadData(IGenericUploaderService service, Stream stream, String fileName) at ShareX.WorkerTask.DoUpload(Int32 retry) I have disabled ShareX upload to Imgur, I have uninstalled ShareX and reinstalled it but nothing works Please Help
https://github.com/ShareX/ShareX/issues/1224 https://github.com/ShareX/ShareX/issues/794 https://github.com/ShareX/ShareX/issues/878 Try running program as admin Seems like it could be something wrong with your computer, according to the creator of sharex from what I've researched this is a memory leak that has to do with the .net framework, which might not be something you can fix
Yeah, gave me no help Im pretty sure that I have done this but I will try it again [EDIT] - Running as Admin didn't work sadly
@j3k go into your windows programs and features and see if you have .net framework installed there, if so you might be able to remove all versions then install needed ones (this is risky tbh) Have you done a full / clean reinstall of the program?
try reinstalling .net framework, if that doesnt work then try either of these programs https://www.microsoft.com/en-us/download/details.aspx?id=30135 https://www.majorgeeks.com/files/details/microsoft_net_framework_cleanup_tool.html