Hi,
When i call this method for example more than 100 times, windows iis memory stable but linux nginx memory leak problem. every call increase memory usage and never decrease in linux. Can you help about this situation?
public static byte[] ConvertPDF(MemoryStream wordFileStream)
{
wordFileStream.Position = 0;
using (Spire.Doc.Document document = new Spire.Doc.Document(wordFileStream, Spire.Doc.FileFormat.Docx))
{
using (MemoryStream stream = new MemoryStream())
{
document.SaveToStream(stream, Spire.Doc.FileFormat.PDF);
return stream.ToArray();
}
}
}
We are using;
dotnet 6.0.2 and dotnet 6.0.29
Ubuntu 20.04.2 LTS
Spire.Doc 12.4.7
Spire.PDF 10.4.7
(We have licence for Spire.Doc and Spire.PDF this versions)
Sincerely,