Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Mon May 06, 2024 10:54 am

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,

saidaydinalp
 
Posts: 2
Joined: Mon May 06, 2024 8:17 am

Mon May 06, 2024 2:11 pm

we find the solution

saidaydinalp
 
Posts: 2
Joined: Mon May 06, 2024 8:17 am

Tue May 07, 2024 5:47 am

Hi,

Thank you for your message and glad your issue is resolved.
If you have any other issue, welcome to contact us again!

Sincerely,
Doris
E-iceblue support team
User avatar

Doris.Liu
 
Posts: 409
Joined: Mon Nov 07, 2022 8:10 am

Return to Spire.PDF