I'm using the TFS API in TFS 2013 Update 4.
When uploading a large (700MB +) file as an attachment to a work item, I will periodically get the following error:
The server returned the following message:
Exception of type 'System.OutOfMemoryException' was thrown.
Stack Trace: at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem.UploadAttachments()
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem.PreSave()
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.PreSave(WorkItem[] workItems)
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.SaveWorkItems(WorkItem[] workitems, Boolean bulk, SaveFlags saveFlags)
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem.Save(SaveFlags saveFlags)
Is there a limitation to the size of an attachment or some way to get more memory?
- Bruce
Bruce