System.OutOfMemoryException Error in Trados Studio 2022 When Saving Project

Hi everyone,

I'm facing a critical issue with Trados Studio 2022 (version 17.2.11.19134) on Windows 11 Home, and I hope someone here might have encountered this before or has a workaround.

Whenever I try to save my current project, I get an error message that says, "An exception of type 'System.OutOfMemoryException' was thrown." This only started happening today as I’m nearing the end of the project. I didn’t encounter this issue when I started working on it.

Error dialog box in Trados Studio with a red 'X' icon, titled 'Erreur'. Message reads 'Une exception de type 'System.OutOfMemoryException' a ete levee.' with 'OK' button and links to 'Base de connaissances' and 'Communaute'.

Here’s a quick overview of my project and system:

  • The project is relatively large, with 22,000 words, a file size of 268 MB, and a TM of 32.9 MB.
  • My computer has 16GB of RAM, and I’ve already freed up over 60GB of disk space.

Here’s what I’ve tried so far to resolve the issue:

  • I deleted some Translation Memories (TM) from the project to reduce the memory load, but this didn’t make a difference.
  • I closed all other applications to ensure Trados has maximum access to my system resources.

Here’s the full error log:

<SDLErrorDetails time="27/10/2024 19:39:50">
<ErrorMessage>System.OutOfMemoryException</ErrorMessage>
<Exception>
<Type>System.OutOfMemoryException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
<StackTrace><![CDATA[ at System.Xml.Linq.XElement.CloneNode()
at System.Xml.Linq.XContainer..ctor(XContainer other)
at System.Xml.Linq.XElement..ctor(XElement other)
at System.Xml.Linq.XElement.CloneNode()
at Sdl.TranslationStudio.Api.Common.SdlxliffXmlDocumentHelper.CreateDocument(List`1 fileElement)
at Sdl.TranslationStudio.Api.Editor.SaveJobRequest.Execute(IJobExecutionContext context)]]>
</StackTrace>
<Environment>
<ProductName>Trados Studio</ProductName>
<ProductVersion>Studio17</ProductVersion>
<OperatingSystem>Microsoft Windows 11 Home</OperatingSystem>
<PhysicalMemory>16495096 MB</PhysicalMemory>
</Environment>
</SDLErrorDetails>

Since I don’t want to lose my progress, I can’t close and reopen the software at this point. Does anyone know if I can rely on Trados' autosave feature, and, more importantly, how to access the autosave files to check if they’re recent enough for recovery? Any guidance on locating and restoring them would be very helpful.

Thank you for any suggestions!



Generated Image Alt-Text
[edited by: RWS Community AI at 7:12 PM (GMT 0) on 27 Oct 2024]
emoji
Parents
  •  

    The stack trace shows Trados is attempting to clone XML elements repeatedly.  Since you are working with a very large SDLXLIFF file, this cloning process can quickly exhaust the memory Trados is allowed to use.  I suggest you consider breaking the file into smaller files to work with, and you may fare better.  There are various ways to do this depending on the type of file you have and at what stage in the project lifecycle you received it.  But you'll need to provide more precise information to get the appropriate help with that... starting with what type of file and how you created/received the project.

    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
Reply
  •  

    The stack trace shows Trados is attempting to clone XML elements repeatedly.  Since you are working with a very large SDLXLIFF file, this cloning process can quickly exhaust the memory Trados is allowed to use.  I suggest you consider breaking the file into smaller files to work with, and you may fare better.  There are various ways to do this depending on the type of file you have and at what stage in the project lifecycle you received it.  But you'll need to provide more precise information to get the appropriate help with that... starting with what type of file and how you created/received the project.

    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
Children
No Data