Memory perfomance in Linux

We are having problems in a Linux environment because it uses more memory than 12GB while in Windows it uses only 3 GB. Using the same psd and code the results are different, it is seen that the process increases memory usage updating the textlayers, calling the method layerText.TextData.UpdateLayerData(), and makes a memory spike in the save method of the psd.

We want to know why memory usage increases so much in Linux and if there is any workaround

@cristianortegaethofy
I created task for the investigation of this issue. We will try to make investigation faster, but ETA of memory usage optimization is 24.3

Could you please additionaly write what version of .Net is used. Rendering implementations for .Net 5,6 and .Net 7 are different.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PSDNET-1865

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

We are using net6.0. Does using the net 7.0 version improve performance?

@cristianortegaethofy in some cases it’s more effective in RAM usage, in some cases may be worse. It uses Aspose.Drawing instead of System.Drawing that has been suspended support for Linux. I’ll add information to the task that .net 6 is used.