it leaks memory like a sieve, it takes 100% CPU, BUT IT KEEPS UP AT 320 MB/S!
Now, to fix the issues.