Email import does not work

I am unable to import emails from Thunderbird. I get a message: Exception of type “System.OutOfMemoryException" was thrown