jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Guggisberg <stefan.guggisb...@gmail.com>
Subject Re: uploading large streams
Date Thu, 25 Aug 2005 12:19:41 GMT
hi andries,

On 8/25/05, Andries Demont <andries.demont@student.kuleuven.be> wrote:
> hi all,
> Forgive me to ask all this questions, but I'm a student and my thesis
> needs jackrabbit. I just know you guys know a lot more of it then I
> do, so if anyone would be so kind. You would make me very happy.
> I'm trying to upload streams to JCR. When I use to big files I get an
> out of memory error.

erm, that shouldn't happen, seems to be a bug. i need more information 
regarding your environment:

- jvm heap size
- size of file that causes the OutOfMemoryException
- configuration (repository.xml/workspace.xml)
- are you running jackrabbit stand-alone or within an app server?


> Extending the size of memory of java is not an option. Because some
> files can take over 1 Gbyte.
> I upload the files with this line:
> for instance:
> node1.setProperty("White Flag.mp3", new FileInputStream
> ("helpcontent\\White Flag.mp3"));

View raw message