hi andries,
On 8/25/05, Andries Demont <[EMAIL PROTECTED]> 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?
cheers
stefan
>
> 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"));
>
>
>
>