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 ?