Browser Tab Crashes When Reaching Ram Limit #6

Closed
opened 2025-09-28 12:43:10 -04:00 by theautisticone799 · 2 comments
theautisticone799 commented 2025-09-28 12:43:10 -04:00 (Migrated from github.com)

Hello! I have been using this converter for my studying books, thanks so much for making it! However,

I have 8 gigs of ram and uploading books with more than 100 pages crashes the tab, the ram usage keeps increasing as more pages gets converted, and ends up crashing without anything getting exported or downloaded,

Could you in some way split the work into chunks? save every 25 pages into cache or temp, and combine them into one file on export, this shall reduce ram usage and allow converting as much pages as we want.

Hello! I have been using this converter for my studying books, thanks so much for making it! However, I have 8 gigs of ram and uploading books with more than 100 pages crashes the tab, the ram usage keeps increasing as more pages gets converted, and ends up crashing without anything getting exported or downloaded, Could you in some way split the work into chunks? save every 25 pages into cache or temp, and combine them into one file on export, this shall reduce ram usage and allow converting as much pages as we want.
chizkiyahu commented 2025-09-28 13:26:41 -04:00 (Migrated from github.com)

@theautisticone799
I’m not sure if it’s possible to save to disk, or how much it would slow things down for all users.
In the meantime, you can increase the page size on your computer to fix this,
or split the PDF before uploading.

You’re welcome to open a PR.

@theautisticone799 I’m not sure if it’s possible to save to disk, or how much it would slow things down for all users. In the meantime, you can increase the page size on your computer to fix this, or split the PDF before uploading. You’re welcome to open a PR.
theautisticone799 commented 2025-10-05 12:06:30 -04:00 (Migrated from github.com)

Closing to work on it myself , thanks ig

Closing to work on it myself , thanks ig
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
chizkiyahu/pdf-dark-mode-converter#6
No description provided.