jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andries Demont <andries.dem...@student.kuleuven.be>
Subject uploading large streams
Date Thu, 25 Aug 2005 11:51:02 GMT
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.

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