jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ulrich" <For...@gombers.de>
Subject AW: no space left on device-exception by Property.getStream()
Date Sun, 14 Apr 2013 19:48:16 GMT
Thank you for your, help. I will open a ticket in Jira:
https://issues.apache.org/jira/browse/JCR-3568. Just for the forum I will
tell my findings up to now here.

To have a clean test-environment, I have installed a new jackrabbit
repository; just by downloading
"org.apache.sling.launchpad-6-standalone.jar" from the Sling portal.
I have written a Class to populate the repository with 12 files, each has a
size of 87MB. 
Then I wrote a Class to retrieve the files as described in this thread. The
class supervises the Temp-Directory and displays all new and all gone files
after each loop.
>From this I can see, that for each retrieval creates 6 indentical temporary
files. This adds up to 530MB of storage needed in the tempDir for each of
these requests. As they are not deleted in time, I need 6,4GB for my 12
testfiles.

Best regards,
Ulrich

-----Urspr√ľngliche Nachricht-----
Von: Julian Reschke [mailto:julian.reschke@gmx.de] 
Gesendet: Samstag, 13. April 2013 12:02
An: users@jackrabbit.apache.org
Cc: Ulrich
Betreff: Re: no space left on device-exception by Property.getStream()

On 2013-04-12 22:54, Ulrich wrote:
> I've added the statement after your mail, I splitted the getStream() to:
> Binary filebin =  jcrdata.getBinary(); InputStream file = 
> filebin.getStream(); file.close(); filebin.dispose();
>
> And as I said, it makes no difference. But anyway, many thanks for the 
> hint, Ulrich ...

OK; that sounds like a bug. Can you open a ticket in Jira?

Best regards, Julian



Mime
View raw message