- 博客(2)
- 收藏
- 关注
翻译 解决OutOfMemoryError: unable to create new native thread问题
java.lang.OutOfMemoryError共有8种类型,其中java.lang.OutOfMemoryError: unable to create new native thread是很常见的一种,这类错误通常发生在应用试图创建新线程时。可能原因有二:1. 系统内存耗尽,无法为新线程分配内存2. 创建线程数超过了操作系统的限制解决方案1. 排查应用是
2017-10-09 19:03:06
62454
2
原创 【leetcode】Two Sum
思路先排序得到一个有序数组代码class Solution { public int[] twoSum(int[] nums, int target) { if (nums != null && nums.length >= 2) { int[] origin = new int[nums.length];
2017-09-18 00:10:43
405
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人