NetBeans profiler “stops working” after 50 thread limit?

匆匆过客 提交于 2019-12-11 11:55:58

问题


I'm trying to use the NetBeans 7.1 profiler to profile a program which runs a series of hadoop tasks (local, single-process), but each task is started in a separate thread.

I've set my root methods to be the map and reduce methods of the Mapper and Reducer which I'm using, but it seems like after thread 50, the netbeans profiler simply stops profiling. It doesn't recognize when the root methods are called again.

The live results stop and snapshot I get at the end only seems to contain data from the first couple tasks.

Does anyone know why this happens or how to fix it?

Thank you


回答1:


I found it. There's a "Limit Number of Profiled Threads" setting under advanced settings which is by default set to 32



来源:https://stackoverflow.com/questions/9121344/netbeans-profiler-stops-working-after-50-thread-limit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!