I'm currently having an issue with spire.doc which is when i upload a .doc file
I have a huge spike in memory from 300 MB to 1.5gb per .doc file it seems like its only .doc files the file size is 15mb
but it keeps hanging and if there are multiple users online it will crash the site if they all upload documents around the same time+
- Code: Select all
Document document = new Document();
document.LoadFromFile(Server.MapPath("~/images/docs/" + fullfilename));
document.SaveToFile(Server.MapPath("~/images/docs/" + TemplateNameOnly + ".pdf"),Spire.Doc.FileFormat.PDF);
document.Close();
the top one loads the .doc and converts to .pdf NOTE: this only happens with .doc files as well
this is where it seems to be using up the memory
i am also using the latest patch from spire.doc and spire.pdf and im on .net 4.0