这几天因为一个小项目用到Lucene,于是去学习了一下,现在还有很多地方没有了解,先就我遇到的问题做下总结。
一、大文本建索引问题
我这里说的大文本,实际上也就200M左右的txt,或许不应该成为大文本,但是我在建索引时遇到200M左右的的确导致了内存溢出,报错误java.lang.OutOfMemoryError: Java heap space ,到网上查了很久,试了一些方法,比如修改JV...
分类:
其他好文 时间:
2014-09-12 12:02:13
阅读次数:
270
AWR需要禁用?这么好的东东。缺省的情况下,AWR是可以使用的,需要耗用一定的sysaux表空间。但涉及到有关AWR相关的调试包(需要license)会访问AWR视图或者awr异常又不想更新patch,甚至没有patch可用的情况下,我们可以禁用AWR以及卸载AWR,本文演示了如果禁用AWR功能以及卸载awr相关的数据字典。1、禁用AWR的目的If most of the space in the...
分类:
数据库 时间:
2014-09-12 11:57:23
阅读次数:
329
转载自 :http://greemranqq.iteye.com/blog/1705867转载自:http://www.cnblogs.com/xwdreamer/archive/2011/11/21/2296930.htmlJava代码 Exceptioninthread"ContainerBac...
分类:
编程语言 时间:
2014-09-12 10:04:43
阅读次数:
213
Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space? 1 /** 2 * Definition for singly-linked l....
分类:
其他好文 时间:
2014-09-11 22:18:12
阅读次数:
311
Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negative integers be palindromes? (i...
分类:
其他好文 时间:
2014-09-11 20:53:22
阅读次数:
247
---------------------------------------博文作者:迦壹博客标题:win8.1_64bit+eclipse4.4+maven3.2.3+JDK1.8环境搭建博客地址:http://idoall.org/home.php?mod=space&uid=1&do=blo...
1、题目Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?2、思路设置两个指针,一个每次走一步,另一个每次走两步。走两步的一定会追上走...
分类:
其他好文 时间:
2014-09-11 19:04:32
阅读次数:
223
Word BreakGiven a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary w...
分类:
其他好文 时间:
2014-09-11 16:54:22
阅读次数:
170
定义和用法white-space 属性设置如何处理元素内的空白。这个属性声明建立布局过程中如何处理元素中的空白符。值 pre-wrap 和 pre-line 是 CSS 2.1 中新增的。默认值: normal继承性: yes版本: CSS1JavaScript 语法: object.style.w...
分类:
其他好文 时间:
2014-09-11 16:52:52
阅读次数:
260
说明:创建数据库Create DATABASE database-name说明:删除数据库drop database dbname澳门威尼斯人赌场说明:备份sql server创建备份数据的 deviceUSE masterEXEC sp_addumpdevice 'disk', 'testBack...
分类:
数据库 时间:
2014-09-11 15:12:32
阅读次数:
406