Need help with temporary files

Caolán McNamara caolanm at redhat.com
Wed Jul 22 02:43:38 PDT 2015


On Wed, 2015-07-22 at 10:28 +0100, Caolán McNamara wrote:
> On Tue, 2015-07-21 at 22:41 +0200, Matúš Kukan wrote:
> > Hi there,
> > 
> > I am working on a bug around saving big file in Writer:
> > https://bugs.documentfoundation.org/show_bug.cgi?id=88314
> > 
> > The problem seems to be we deflate streams in parallel and run out of memory.
> > I thought there are temporary files used for deflating since
> > f92183833fa569006602ac7e93c906d2094e0d4d but I see this:
> 
> Hmm, I think that the tempfile is *normally* backed by a real file and
> only with a memory stream if the filename of the tempfile is empty, so
> the real question is likely why does CreateTempName_Impl in
> unotools/source/ucbhelper/tempfile.cxx return an empty string.

E_MFILE, too many open files, so the problem is a file handle leak.

C.



More information about the LibreOffice mailing list