Import handling improvement

* Buffer reception is now 1MB, prevent big import from exploding the JVM