store them in a temp directory and only give your page the filename. -igor
On Mon, Oct 19, 2009 at 10:55 AM, tubin gen <[email protected]> wrote: > I have some huge files upto 50Mb in side my page instance , I have to > save them in page instance and I cannot reload it everytime from database > becasue other users might delete the file . > > I am getting java.lang.OutOfMemoryError , only way I can resolve this is > increasing heap size but Is this a bad idea storing files upto 50Mb inside > page instance ? > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
