Collection too large to upload to AnkiWeb

Hello everyone, I have now unfortunately received this error message that my collection is too large to send to ankiweb. Ive noticed this is an issue that arises quite frequently and have tried multiple different recommendations but am still getting the error. As of now I have Checked the database, I checked Media and deleted unused files (which was actually a metric ton so i thought that was gonna be what helped), checked database again, went through and emptied trash, deleted all my miscellaneous profiles and still am getting the error message.

I would like to reference this post I found: Trouble Uploading Deck to AnkiWeb Due to Large Collection File Size - #2 by dae

I tried what was recommended here, searching for http://127.0.0.1:\d+/ and replacing with nothing, 50 cards updated but alas the error message still came up. I am also referencing this page because the OP mentioned this error came up for him after an update of AnKing Custom Note Types which was the same that happened with me this evening.

So if anyone has any more recommendations, id greatly appreciate it.

1 Like

My error message for reference.

Hi, the Note Size addon can help to identify huge notes in the collection:

Sort it by the ā€œSize (texts)ā€ column, because the attached files are not included in the size limit.

1 Like

As just an update, for the sake of curiosity I decided to just reboot to the first back up I had today before I attempted to update to the most recent AnKing Note type and the issue resolved. My deck is currently at 280MB. So it seems that in attempting to update to the newest Note Type it added an extra 100MB?

Either way at this point my entire collection is purely from AnkiHub (50k cards). So if anyone can tell me how I can trim some of that 280MB before this happens again ill still be greatly appreciative.

1 Like

Thank you! I will have a took to see if there’s anything weird

Where to look for what is making your collection so large: Constant Errors Uploading / Sync - #4 by Danika_Dakika (including the Note Size add-on).

1 Like

Thank you so much! Just to circle back to the original problem, I can confirm it is the AnKing Note Types Easy Customization add-on which is making my collection jump 100MB @AnKingMed. I checked my past backups and noticed they were pretty much constant until i tried to update yesterday, so today I went in and clicked ā€œupdate note typesā€ in the addon and the same thing that happened yesterday happened again. I got the spinny wheel for like 15 minutes, the update lagged so I forced quit and when I opened it up again my collection had jumped from 250MB to 350MB. So safe to say I will stop doing that for a bit but figured I’d share the culprit.

Back to trimming the remaining fat, in terms of the addon, it looks like my largest card is the AnKing Pancreatitis card at 11KB. My collection is currently at 256MB, with 16 MB from revlogs. My media is 6.4GB (this is purely 3 AnkiHub decks so not sure if that is what the expected size should be). And pretty much for the last month my backups have all been consistently around 30MB. Sooooo does any of that seem out of the usual?

An 11KB note isn’t a big deal if it stands alone, but if you have a lot of those > 2KB notes [drawing an arbitrary line that might not be relevant in your collection], those can add up quickly. The question would be – is it 11KB because it’s got so much necessary information in it? Or is it 11KB because it is bogged down with unnecessary information or with hidden/repetitive HTML/CSS?

16MB from revlogs is pretty high, but (a) if you have a lot of review history from a (typically) high med-school workload, it’s less strange, and (b) 16MB isn’t a lot compared to the size of your collection overall.

Do you use ā€œreschedule on changeā€ a lot? Did you import someone else’s old review history with decks at some point? Those are about the only things I can think of that would show up in your revlogs and might be fixable.

That’s on the high side, but I know some of those decks can be media-heavy. It won’t make a difference in syncing, and it sounds like you’re already doing what you can to keep unused media cleaned up.

That’s more compression that I’d expect to see from a 256MB collection. It’s not exactly linear, but those compression rates are often around 3-to-1. I don’t know what that means, but I’m flagging it for myself in case you discover something later.

I don’t know what the add-on could be doing that would cause that, so I’ll defer to the AnKing folks to answer.

It does make me wonder though if maybe your collection is hiding some of its size in unusual places, like extensively customized note types that are no longer used.

@abdo Any idea why this would be? I can’t think of anything other than potentially the logo images that are included with it.

@NickZazz have you tried emptying unused media and deleting the trash?

1 Like

Media files are not counted, so they can’t cause this error.

I recall we had reports where some users had their note type templates duplicated thousands of times for some reason (might be a rare bug in the note types add-on but I’m unsure how it could happen). Example:

@NickZazz Can you check your templates? Follow the solution here if you find the issue:

1 Like

@Danika_Dakika

My deck is has about 2.5 years of almost daily review history to it, but that said there is a few months worth of review history (from what i can tell from the heat-map) from the person i originally downloaded the deck from.

I pretty much never use reschedule on change. I tried going into the FSRS addon and using the ā€œdelete redundant revlog entriesā€ function but it didnt change the collection size or the 16MB or revlog.

Outside of changing some font colors and a having a field show with every card, i havent really touched the note types in any other way.

@AnKingMed @abdo My experience with that add-on does tend to be the same where it takes FOREVER to update the addon and then forever to update the cards (yesterday it attempted to update for about 30 minutes before i finally force quit), not sure if that is the same for everyone else. Other than that I have been emptying my media/trash (admittedly i didn’t know this was a thing until after this all occurred, but it honestly hasn’t changed much).

I clicked through all of my templates, front/back/styling, and it doesn’t appear to me like anything is repeating or unusually standing out. Admittedly my knowledge of computer science is almost non-existent, so if sending a copy of my deck might make things easier for you guys just lmk.

Can you export a copy without media? You can share it quickly using this website: https://gofile.io