Low CPU usage when performing big task in java I recently got mac mini and I'm new to OS X so maybe this is a trivial question.
I'm developing web application in java using Spring. I have another project to run IT tests which sets up the API and performs lots of testing.

Tests take ~6 minutes on Linux and Windows (and when this is first thing i do after restarting my mac).
When i run them on my mac they take very long time (~30 mins and go on)
I notice in Activity Monitor that CPU is 90% idle after the API has started and tests begin to execute. Java processes uses ~0.5% of CPU. There is still ~7 GB memory free.

Running this on other environments (e.g. Linux) usually takes most of available resources (almost 100% CPU usage and memory)

Can somebody help me resolve this issue? Does OS X have any limitation regarding CPU usage for java processes?

I can provide more informations but need to know where to look.
Is the console output slowing the application? Does the app use System.out or a logging framework like log4j?
I just solved a similar issue for a Java app and the behavior occurred after an update - the MySQL slow query log showed that the insert was taking 1 second but in reality a batch insert was being split into 1000 some inserts after the default behavior in the JDBC driver changed from auto commit being off for batch commits to having it on (which required me to manually turn off auto commits for batch inserts).