Constant out of memory exceptions with Studio 2017

<SDLErrorDetails time="16/01/2020 15:54:24">
  <ErrorMessage>Exception of type 'System.OutOfMemoryException' was thrown.</ErrorMessage>
  <Exception>
    <Type>System.OutOfMemoryException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <HelpLink />
    <Source>mscorlib</Source>
    <HResult>-2147024882</HResult>
    <StackTrace><![CDATA[   at System.String.ReplaceInternal(String oldValue, String newValue)
   at System.String.Replace(String oldValue, String newValue)
   at Sdl.FileTypeSupport.Bilingual.SdlXliff.XmlNodeBuilder.XmlBuilder.XmlEscape(String unescaped)
   at Sdl.FileTypeSupport.Bilingual.SdlXliff.XmlNodeBuilder.XmlBuilder.AddText(String text)
   at Sdl.FileTypeSupport.Bilingual.SdlXliff.FileManager.WriteZippedFile(XmlBuilder builder, String filePath)
   at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffWriter.EmbedDependencyFile(XmlBuilder builder, IDependencyFileProperties file)
   at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffWriter.AutoEmbedOrLinkDependencyFile(XmlBuilder builder, IDependencyFileProperties file)
   at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffWriter.AddDependencyFile(XmlBuilder builder, IDependencyFileProperties file)
   at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffWriter.SetDependencyFiles(FileSkeleton fileHeader, XmlBuilder builder)
   at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffWriter.WriteFileComplete(FileSkeleton fileHeader, XliffFormattingXmlTextWriter writer)
   at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffWriter.WriteSdlXliff(XliffFormattingXmlTextWriter writer)
   at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileWriter.Complete()
   at Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.Complete()
   at Sdl.FileTypeSupport.Framework.Core.Utilities.BilingualApi.BilingualContentHandlerAdapter.Complete()
   at Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.Complete()
   at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.ParseNext()
   at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.Parse()
   at Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.SaveBilingualImpl(String[] bilingualFilePaths, Boolean copy, IJobExecutionContext context, Boolean isAutoSaved)
   at Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.Save(IJobExecutionContext context)
   at Sdl.TranslationStudio.Api.Editor.AbstractInternalDocument.SaveJobRequest.Execute(IJobExecutionContext context)
   at Sdl.Desktop.Platform.Implementation.Services.Job.<_worker_DoWork>b__46_0()
   at Sdl.Desktop.Platform.Implementation.Services.Log.Resources(Object message, Action action)
   at Sdl.Desktop.Platform.Implementation.Services.Job._worker_DoWork(Object sender, DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)]]></StackTrace>
  </Exception>
  <Environment>
    <ProductName>SDL Trados Studio</ProductName>
    <ProductVersion>14.0.0.0</ProductVersion>
    <EntryAssemblyFileVersion>14.1.10018.54792</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 7 Professional </OperatingSystem>
    <ServicePack>Service Pack 1</ServicePack>
    <OperatingSystemLanguage>1033</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>Cat-win7-PC\Catwin7</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>CAT-WIN7-PC</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>2882104 MB</PhysicalMemory>
  </Environment>
</SDLErrorDetails>

Hi

I thought I was only having a problem saving multiple files (which may or may not be a result of the last studio update) but it appears the issue was (or has become) generic. I've tried a repair but no effect. I also restarted my PC. I can translate as usual but not save. The stacktrace appears to refer to a Microsoft issue. I haven't installed anything new recently. However I suppose it could be the result of a Windows update?

In the meantime I will try a Studio 2019 trial as a workaround in order to meet my deadlines.

Guidance gratefully accepted.

Cat

Parents Reply
  • The reply was:

    Thank you for contacting SDL Support.

    Please be aware that SDL Support will always help our customers who have an Installation or Licensing problem. 

    However, the described issue is not an Installation or Licensing request and I will archive this case.

    I assume that Support thinks it's a RAM issue. That may be (although the problem was still occurring with Physical Memory at 50%) and I am waiting on delivery of a new PC this week so we'll see. Meanwhile I have split the file and I am now able to save the parts individually so I'll just have to hope it doesn't affect the final product.

    Best

    Cat

Children