I’ve been using NetBeans 7.1 on my MacBook Air and it seemed that the fan would eventually come on and it was quite loud while trying to work.
After disabling as many plugins as I didn’t need, I think that the issue may be solved by closing the Tasks window. The problem may have been created because I am using the phpMD and phpCodeSniffer plugins which both create a lot of tasks.