Giter Site home page Giter Site logo

Comments (5)

aspiers avatar aspiers commented on May 27, 2024

Weird. Please use a binary bisection approach to deleting emails from the maildir in question in order to obtain the smallest possible maildir which can reproduce the problem, and then share that maildir with us as a .zip or .tar.gz.

from mail-deduplicate.

darkmattercoder avatar darkmattercoder commented on May 27, 2024

I did some further investigation. Unfortunately I deleted a bunch of duplicates already using fdupes. So I ended up with just one maildir left for issue testing. That was one with ~8000 E-Mails.
I first deleted stuff in it until there were 5108 Mails left. That maildir caused the script to terminate always I ran it. When I deleted some more E-Mails randomly (various runs) the script finished properly. When copied back, the script crashes again.

So I wondered why the crash did once happen on a relative small maildir. I realized that there were just a couple of hundred mails in it, but that it had many attachments and thus had a size similar to the other maildir with a few thousand e-mails.

Until that point I just ran the script on my shared hosting web server where I do not have as much resources as on a stand-alone PC. So I got the idea to transfer the maildir to my desktop PC and ran the script again.

On that machine, with the very same maildir and python version, the crash did not occur.

So I assume, on my server, the script terminates due to the limites ressources.

from mail-deduplicate.

aspiers avatar aspiers commented on May 27, 2024

Ah, interesting. I'm surprised Python does not give a more useful error though.

from mail-deduplicate.

kdeldycke avatar kdeldycke commented on May 27, 2024

Fixed in 62e33f4 .

from mail-deduplicate.

github-actions avatar github-actions commented on May 27, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

from mail-deduplicate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.