RipMeApp / ripme

Downloads albums in bulk
MIT License
3.7k stars 629 forks source link

unable to load history file after running out of mem/heap #1506

Open madhatr opened 4 years ago

madhatr commented 4 years ago

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Thread-27423" Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: GC overhead limit exceeded

Ran our of mem while launching with -xmx512m -xms512m. Ripme was locked up, i closed Ripme. I opened Ripme to the message unable to load history file, if i close ripme it will overwrite it. So before hitting ok. I went to the folder to back up the history file but it was already at 0 bytes, so it had deleted it already.

Only reason I launched with special mem args was because ripme was previously running out of heap and locking up.

Maybe an auto backup of the history file should be added. I swore i made my own when testing the 1.7.9 alpha but i can't find it. 1800 url history gone :(

madhatr commented 4 years ago

Is there a way to extract a url list from my rip folder?

EDIT: Anyone searching for an easy way to do this in windows. You can select all the folders and hold ALT+SHIFT mouse right click and select "copy path". Open notepad++ or other programs with replace all functions and(in my case). Replace all "reddituser" with "https://www.reddit.com/user". I now have a file with all my reddit urls in it :)

cyian-1756 commented 4 years ago

I think that ripme should start keeping backups of the history file, to prevent things like this in the future.