做android开发的时候eclipse的console一直出现这个问题,有时候是启动eclipse后就出现这个问题,有时候是运行android程序的时候出现的,重启avd和重启eclipse都不行。后面在网上找到了解决办法。先说原因嘛,这是ddms调用adb引发的. 经过一番搜索, 发现这是win...
分类:
数据库 时间:
2014-10-09 14:06:23
阅读次数:
163
遇到一个MySQL JDBC的queryTimeout的坑,比较恶心,算是它的BUG,也可以不算,^_^,为啥这么说?看一下下面的解释:现象:用同一个Connection执行大批量SQL的时候,导致了OOM现象。细节现象描述:1、SQL是从某个存储设备上拿到的,不会直接占用大量的内存,每次只会取最多1千条数据过去,也会判定容量不超过多少M。2、每一批SQL执行会单独创建Statement对象,执行...
分类:
数据库 时间:
2014-10-09 01:59:37
阅读次数:
518
Find the contiguous subarray within an array (containing at least one number) which has the largest product.For example, given the array[2,3,-2,4],the...
分类:
其他好文 时间:
2014-10-09 01:08:37
阅读次数:
231
Find the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the array[?2,1,?3,4,?1,2,1,...
分类:
编程语言 时间:
2014-10-09 00:23:07
阅读次数:
218
Without any doubts, Android SDK has a poor documentations. There are pitfalls and traps about APIs without any mentions in SDK documentations. 1. WebView.clearHistory() When there is only one item ...
分类:
移动开发 时间:
2014-10-08 23:01:37
阅读次数:
166
Find the contiguous subarray within an array (containing at least one number) which has the largest sum.
For example, given the array [?2,1,?3,4,?1,2,1,?5,4],
the contiguous subarray [4,?1,2,1] ha...
分类:
其他好文 时间:
2014-10-08 18:06:55
阅读次数:
163
====================问题描述==================== 异常日志如下:
Causedby:java.lang.IllegalStateException:Cannotperformthisoperationbecausetheconnectionpoolhasbee...
分类:
数据库 时间:
2014-10-08 17:30:55
阅读次数:
206
1.The model backing the 'MusicStoreDBContext' context has changed since the database was created.Consider using Code First Migrations to update the da...
分类:
Web程序 时间:
2014-10-08 14:43:05
阅读次数:
244
Linked List CycleGiven a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?使用快慢指针,如果有循环两指针必定能相遇: 1 p...
分类:
编程语言 时间:
2014-10-08 04:32:34
阅读次数:
298
A fatal error has been detected by the Java Runtime Environment:SIGSEGV (0xb) at pc=0x00007f25d0b922a1, pid=3459, tid=139803099674368JRE version: Java...
分类:
系统相关 时间:
2014-10-07 23:05:54
阅读次数:
501