Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Sometimes I have 96% consume in my app, I attached to process and found that several threads are locked at:
private static void FillDocumentTypes(Type baseTypeDocType)
...
DocumentTypes[documentTypeAlias] = type;
another at
public static Type GetDocumentTypeType(string documentTypeAlias)
type = DocumentTypes[documentTypeAlias];DocumentTypes is a static dictionary,here is the same problem:http://blogs.msdn.com/b/tess/archive/2009/12/21/high-cpu-in-net-app-using-a-static-generic-dictionary.aspx ;
My (and not only mine) is to move away from code first. Save yourself the pain.
Watch this video for more information : https://www.youtube.com/watch?v=Hr1irQ0h5J8
Dave
Hi Dave,
Thanks, but it's not a solution, we have to fix deadlocks in existing project, we have the same situation, after rebuild uSiteBuilder application can be freezed. And it isn't depending on something, just app start freezing ))
Maybe somebody can help ?
Thanks, Alex
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
deadlock with DocumentTypes dictionary
Sometimes I have 96% consume in my app, I attached to process and found that several threads are locked at:
private static void FillDocumentTypes(Type baseTypeDocType)
...
DocumentTypes[documentTypeAlias] = type;
another at
public static Type GetDocumentTypeType(string documentTypeAlias)
...
type = DocumentTypes[documentTypeAlias];
DocumentTypes is a static dictionary,
here is the same problem:
http://blogs.msdn.com/b/tess/archive/2009/12/21/high-cpu-in-net-app-using-a-static-generic-dictionary.aspx ;
My (and not only mine) is to move away from code first. Save yourself the pain.
Watch this video for more information : https://www.youtube.com/watch?v=Hr1irQ0h5J8
Dave
Hi Dave,
Thanks, but it's not a solution, we have to fix deadlocks in existing project, we have the same situation, after rebuild uSiteBuilder application can be freezed. And it isn't depending on something, just app start freezing ))
Maybe somebody can help ?
Thanks, Alex
is working on a reply...