View Single Post
Old 10-22-2021, 05:06 PM   #1
BearsBeats
Junior Member
BearsBeats began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2021
Device: none
Calibre-Web not releasing ram usage after uploading large file via "Upload Format"

I am adding a single .mp3 file to each book manually by using the "Upload Format" link, files are up to 800MB in size.

Before the upload start, ram usage is about 100MB or less, during the upload the ram usage increases up to about 1.5GB but once the upload is done it only drops back down to about 700MB. I have left it 8hrs to see if there was any change but ram usage doesn't drop.

Pre Upload ram usage:
Click image for larger version

Name:	Screenshot from 2021-10-23 10-00-01.png
Views:	164
Size:	39.9 KB
ID:	189759

During upload of 770MB file:
Click image for larger version

Name:	Screenshot from 2021-10-23 09-57-28.png
Views:	167
Size:	33.6 KB
ID:	189760

After upload is completed:

Click image for larger version

Name:	Screenshot from 2021-10-23 10-00-01.png
Views:	164
Size:	39.9 KB
ID:	189759


This 'residual' ram usage accumulates between uploads so I am having to reboot after every 2-3 uploads to prevent uploads from failing due to ram usage maxing out.

Is this expected behaviour?

Is there a workaround by uploading the files to the database folder and editing the database somehow without using the web interface? I am thinking I could just manually copy the files into the folder.
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2021-10-23 09-54-46.png
Views:	148
Size:	39.9 KB
ID:	189761  
BearsBeats is offline   Reply With Quote