Heh. Not threads are cause of problem. Is is even more strange.
Look on this snippet. X.mobi have 400mb.
Quote:
import os
import sys
import argparse
import configparser
#from tkinter import Tk, ttk, filedialog
from threading import Thread
from KindleButler import DualMetaFix
ready_file = DualMetaFix.DualMobiMetaFix("D:\X.mobi", bytes('12345', 'UTF-8'))
exit(0)
|
It works. But if I uncomment tkinter it start to crash with MemoryError.
Importing
any bigger third party library is starting to crash program (still only on 32bit Python).
I would say that is something wrong with my Python enviroment - but I replicated that on two machines.