Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Large file to download #17

Open
AntonyDeveau opened this issue Jun 20, 2018 · 6 comments
Open

Large file to download #17

AntonyDeveau opened this issue Jun 20, 2018 · 6 comments

Comments

@AntonyDeveau
Copy link

Hey !
I got a conversation with like 110 000 messages, when I want to download it, the plugin crash.
Can you fix it ? Like cut a large file into smaller files ?

@LachubCz
Copy link

LachubCz commented Aug 7, 2018

I have the same problem.

@ireun
Copy link

ireun commented Aug 9, 2018

Yup, large files are problematic. XD
image

@eMiuler
Copy link

eMiuler commented Aug 27, 2018

Same. Just cut the file into several files, for instance 1 file - 50 000 messages and it should work just fine

@mariansam
Copy link
Contributor

Not sure, but this is solved. I have just downloaded a conversation with 25 000 messages and it split it into three files.

@ALiangLiang
Copy link
Owner

ALiangLiang commented Sep 28, 2018

Sorry guys. It's hard to solve your problem. I only have highest messages 46701.😞😞😞 So I don't know how to code and test (reproduce this senerio). In my case, 46701 messages is works fine for me.

@eMiuler
Copy link

eMiuler commented Sep 28, 2018

Well, maybe you can somehow in the backend of the application dublicate messages? Well, for instance, read all the messages 4 times and try writing them all into the file, so there will be in total ~180 000 messages. Maybe this would help to recreate this scenario and see where the program crashes. However, if the problem is in reading all the messages, not writing them, this method should work fine. Well, the only possibility is then to write a spam bot and spam someone until u have huge amount of messages and test the application with in that chat.

I have tried breaking your program for a bit and thats what I found out:
I have a chat where there are ~60000 messages. If i try downloading the messages the first time, everything works fine. After that, if I try downloading them again, the program crashes. Try that scenario, maybe the problem is the same.

Anyway, the application is great, just keep improving it. Hope you fix it !

EDIT:
Tried with a 40 000 messages chat. Crashed at the 3rd download.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants