I reported this before: http://www.intellij.net/tracker/idea/viewSCR?publicId=33690
It still happens with 2206.
I ran aunit test that involves some native method calls (with printf statements).
The UnitTest Window appears, even the green bar "all tests have passed".
Then IDEA seems to continue to repeat the same output and hangs up completely and after some time produces OutOfMemoryError.
this does not happen with IDEA 4.0.4