rather than increasing sql server RAM you better change the application design. for example if you have thousands of files but user will view only one file at one time, so you you need to load all of them?
if you need to display list of files, select only other columns like below
select fileid, filename from yourtable
load only selected file
select fileData from yourtable where fileid =@fileid
by using where condition you can limit the results for matching files only