Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/eclipse/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java t不是一个可行的短期选项,您需要立即找到解决方案。使用Eclipse Indigo和jdk 1.6为我工作。使用Eclipse Indigo和jdk 1.7为我工作我正在运行一个大型android项目,其中有几个(700个文件)文件。所以我想增加andro_Java_Eclipse_Exception Handling - Fatal编程技术网

Java t不是一个可行的短期选项,您需要立即找到解决方案。使用Eclipse Indigo和jdk 1.6为我工作。使用Eclipse Indigo和jdk 1.7为我工作我正在运行一个大型android项目,其中有几个(700个文件)文件。所以我想增加andro

Java t不是一个可行的短期选项,您需要立即找到解决方案。使用Eclipse Indigo和jdk 1.6为我工作。使用Eclipse Indigo和jdk 1.7为我工作我正在运行一个大型android项目,其中有几个(700个文件)文件。所以我想增加andro,java,eclipse,exception-handling,Java,Eclipse,Exception Handling,t不是一个可行的短期选项,您需要立即找到解决方案。使用Eclipse Indigo和jdk 1.6为我工作。使用Eclipse Indigo和jdk 1.7为我工作我正在运行一个大型android项目,其中有几个(700个文件)文件。所以我想增加android项目的堆大小。如何做?我已经在eclipse.ini文件中增加了haep大小,但没有帮助。我只能在左侧看到项目的名称,没有类名或参数选项卡的任何选项,你能帮我解决这个问题吗,谢谢。工作得很好。感谢那些想知道eclipse.ini文件在Mac


t不是一个可行的短期选项,您需要立即找到解决方案。使用Eclipse Indigo和jdk 1.6为我工作。使用Eclipse Indigo和jdk 1.7为我工作我正在运行一个大型android项目,其中有几个(700个文件)文件。所以我想增加android项目的堆大小。如何做?我已经在eclipse.ini文件中增加了haep大小,但没有帮助。我只能在左侧看到项目的名称,没有类名或参数选项卡的任何选项,你能帮我解决这个问题吗,谢谢。工作得很好。感谢那些想知道eclipse.ini文件在Mac上到底在哪里的人,运行以下命令:
$cd/Applications/eclipse/;找到grep eclipse.ini
请回答新的和未回答的问题,而不是用已接受的答案回答多年的问题。您在哪里找到此路径<代码>窗口>>首选项>>MyEclipse>>Java企业项目>>Web项目>>下的部署选项卡
try {
    // CompareRecord record = new CompareRecord();
    Connection conn = new CompareRecord().getConection("eliteddaprd","eliteddaprd","192.168.14.104","1521");
    ResultSet res = null;

    if (conn != null){
        Statement stmt = conn.createStatement();
        res = stmt.executeQuery("select rowindx,ADDRLINE1 from dedupinitial order by rowindx");
    }

    Map<Integer,String> adddressMap = new LinkedHashMap<Integer, String>();
    if (res != null){
        System.out.println("result set is not null ");
        while(res.next()){
            adddressMap.put(res.getInt(1),res.getString(2));
        }
    }

    System.out.println("address Map size =========> "+adddressMap.size());
    Iterator it = adddressMap.entrySet().iterator();
    int count = 0;
    int min = 0;

    while (it.hasNext()){
        Map.Entry pairs = (Map.Entry)it.next();
        Pattern p = Pattern.compile("[,\\s]+");
        Integer outerkey = (Integer)pairs.getKey();
        String outerValue = (String)pairs.getValue();
        //System.out.println("outer Value ======> "+outerValue);

        String[] outerresult = p.split(outerValue);
        Map.Entry pairs2 = null;
        count++;
        List<Integer> dupList = new ArrayList<Integer>();

        Iterator innerit = adddressMap.entrySet().iterator();
        boolean first = true;

        while (innerit.hasNext()){
            //System.out.println("count value ===> "+count);
            int totmatch = 0;
            if(first){
                if(count == adddressMap.size()){
                    break;
                }
                for(int i=0;i<=count;i++){
                    pairs2 = (Map.Entry)innerit.next();
                }
                first  = false;
            }
            else{
                pairs2 = (Map.Entry)innerit.next();
            }
            Integer innterKey = (Integer)pairs2.getKey();
            String innerValue = (String)pairs2.getValue();
            //System.out.println("innrer value "+innerValue);
            String[] innerresult = p.split(innerValue);

            for(int j=0;j<outerresult.length;j++){
                for(int k=0;k<innerresult.length;k++){
                    if(outerresult[j].equalsIgnoreCase(innerresult[k])){
                        //System.out.println(outerresult[j]+" Match With "+innerresult[k]);
                        totmatch++;
                        break;
                    }
                }
            }

            min = Math.min(outerresult.length, innerresult.length);
            if(min != 0 && ((totmatch*100)/min) > 50) {
                //System.out.println("maching inner key =========> "+innterKey);
                dupList.add(innterKey);
            }
        }
        //System.out.println("Duplilcate List Sisze ===================> "+dupList.size()+"   "+outerkey);
    }

    System.out.println("End  =========> "+new Date());
}
catch (Exception e) {
    e.printStackTrace();
}
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
    at java.util.HashMap.resize(HashMap.java:508)
    at java.util.LinkedHashMap.addEntry(LinkedHashMap.java:406)
    at java.util.HashMap.put(HashMap.java:431)
    at spite.CompareRecord.main(CompareRecord.java:91)
--launcher.XXMaxPermSize
512M
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms512m
-Xmx1024m