Exception of type 'System.OutOfMemoryException' was thrown.

Hi there,

I'm having serious problems working with Studio 2024 currently. This error is constantly being triggered and I'm constantly having to restart Studio/my computer to get rid of it. I've got 32 GB RAM and am having no memory issues with any other software I use. Does anyone know how to fix it or what could be causing it?

Many thanks

Lucy

emoji
  •  

    In my case I think I get that error after using heavily the fiters with just 16 GB of RAM.

    What I do is restarting Trados Studio, a nuisance, yeah, but it’s faster that restarting the whole PC.

    emoji
  •  

    When you get that error you probably also get an error message with the small disk symbol in the bottom left.  Click on that and save the file to your desktop; then attach the file to your response.  If you explain the sort of things you were doing when this occurred, and if you attach that error, we might be able to determine why it's caused.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

    emoji
  • Hi,

    I'm experiencing the same error when confirming translated segments. The document is quite long, and as I go through confirming each segment, the error occurs when Trados attempts to auto-save the progress.

    As you suggested, I’ve saved the file — it's attached.

    Thank you in advance!

    <SDLErrorDetails time="05/06/2025 13:04:16">
      <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.Text.StringBuilder.ToString()
       at Sdl.FileTypeSupport.Bilingual.SdlXliff.XmlNodeBuilder.XmlBuilder.BuildXmlString(TreeGeneration treeGeneration)
       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.WriteSdlXliffToFile(String tempOutputFile)
       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.SaveJobRequest.Execute(IJobExecutionContext context)
       at Sdl.Desktop.Platform.Implementation.Services.JobExecuter.Execute(JobData jobData)
       at Sdl.Desktop.Platform.Implementation.ResourceLoggingInternalCommandExecuter`1.ExecuteWithResourceLogging(TCommandData commandData, String message)
       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>Trados Studio</ProductName>
        <ProductVersion>Studio18</ProductVersion>
        <EntryAssemblyFileVersion>18.0.1.2259</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows Server 2019 Standard</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>3082</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>BOVEMONTERO\ASSB</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>SRV-XA38</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>50331124 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

    emoji