Artikash / Textractor

Extracts text from video games and visual novels. Highly extensible.
GNU General Public License v3.0
2.15k stars 207 forks source link

Textractor 5.2.0 Memory Leak #1329

Open NicolasTurpin opened 3 months ago

NicolasTurpin commented 3 months ago

I was trying to start reading Jisatsu101 after setting up Textractor (on the last version) when I discovered it was filling up my RAM (I got 16Go and it was filling 1% every 1-2 seconds) and eventually crashed. I tried tweaking lot of stuff, removing filters and everything optional, both on the x64 and x86 version but it kept leaking memory. Each time it want to click another window, it freezes nearly everything and empties the RAM (at the same rate) until it comes back to the original value before un-freezing.

I've seen other threads talking about this back in version 4 so I'm wondering if anyone else is experiencing this and knows what should I do ?

image

Thanks a lot !

storycoolbro commented 1 month ago

check that box that says translate selected text thread only if thats not checked every single thread it's hooked in the drop down menu all of them are sent to be translated at the same time. if that doesn't help it's out of my realm of expertise. Also probably not related to the issue but will help with hook related problems in the future update your texthook.dll bottom of this post here only other thing I can think is one of the threads it's hooks is generating constant random garbage if there's one like that remove that hook and it should solve the problem typically this happens with unity games where it uses brute force to find the hook