Zum Inhalt springen
AppgineeringAppgineering
Shop
Schreibgeschützt7 Beiträge · 5,213 Aufrufe · Erstellt 23 Mar 2020, 19:14

Exporting Bugg

Archiviert: Diskussion auf Discord verlagertDiscord
Niclas D.Ursprünglicher Verfasser
· bearbeitet
#1

Hey i am having a issue that i am not allowed to export my overlay i get this file


Error: 3/23/2020 7:12:34 PM (UTC)
Unhandled exception
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.IO.MemoryStream.set_Capacity(Int32 value)
   at System.IO.MemoryStream.EnsureCapacity(Int32 value)
   at System.IO.MemoryStream.Write(Byte[] buffer, Int32 offset, Int32 count)
   at System.Security.Cryptography.CryptoStream.FlushFinalBlock()
   at System.Security.Cryptography.CryptoStream.Dispose(Boolean disposing)
   at System.IO.Stream.Close()
   at System.IO.Stream.Dispose()
   at ATVO.ThemeEditor.Utils.ThemeFileIO.EncryptData(Byte[] data, String key) in D:\Users\Nick\Documents\Programming\ATVO\Appgineer.in-TV-Overlay-for-iRacing\ATVO.ThemeEditor\Utils\ThemeFileIO.cs:line 173
   at ATVO.ThemeEditor.Utils.ThemeFileIO.Encrypt(Theme theme, String password, String destinationFile, String tempPath) in D:\Users\Nick\Documents\Programming\ATVO\Appgineer.in-TV-Overlay-for-iRacing\ATVO.ThemeEditor\Utils\ThemeFileIO.cs:line 30
Nick ThissenAppgineering
#2

Likely your theme is too big. Do you have any very big videos or something? How large is the total size of the theme folder including Contents?

Nick ThissenAppgineering
#4

Did you check the size? In my own testing I can manage up to around 500 MB, after that we run out of memory. It is a limitation of how memory is segmented in Windows. There are certainly ways around it but much more difficult to implement, and to be honest I think 500 MB is a very reasonable upper limit.

Are you seeing this issue with themes that are significantly smaller than 500 MB?

Nick ThissenAppgineering
· bearbeitet
#6

If your Content folder is "only" 100 MB, how is your entire theme over 400? That makes no sense.

Are you storing your exported theme in the same folder as your ".atvotheme" file? I think it's including that file in your exported theme so it gets bigger and bigger but you're actually just including old copies of your exported theme.

Please remove the exported ".adt" file from your theme folder, then export again and save it somewhere else.

#7

Yea that fixed it. It just haven been a issue before the last patch

Dieser Thread ist archiviert.

Neue Antworten finden auf Discord statt.

Auf Discord weiterlesen