During development and testing, one technique that can help lessen the impact of runaway threads is to set a limit on the amount of CPU a process can use.
在开发和测试期间,有一种技术可以帮助减轻失控线程的影响,即限制进程能够使用的CPU数量。
One way to limit the pain is to just use JDK 5.0 for most of your testing within the IDE.
限制这一痛苦的一种方式是,只对IDE中的大多数测试使用JDK 5.0。
Other PHP image functions include testing the image to see how large it is and, if the size is over a certain recommended limit, scaling the image to a more reasonable size for the auditor's screen.
其他的 PHP 图像功能包括对图像进行测试,看它有多大,如果大小超过某个推荐的限制,那么将图像缩小到一个对审计人员的屏幕更合理的大小。
应用推荐