OutOfMemoryError while trying to read a huge table

I do a simple thing like
SELECT id, name FROM myHugeTable ORDER by name
without any WHERE clause since I need to process the whole table somehow and get an OutOfMemoryError.
I see no reason for it, as I do not need all the data at once, so I would expect JDBC to give it to me one row after the other. I need no specials (no updates of ResultSet, no backward going, just rs.next() and simple reading), what should I do?

Hope this helps:
The sql statement gets all the information from the table in a resultSet at once. It doesn't send a separate sql statement to the database each time you get an item out of the resultSet. YOu can get part of the table at a time, process it, then get the rest of the data. For example, processing the names that begin with A first, then those beginning with B, etc:
SELECT id, name FROM myHugeTable where name like 'A%' or 'a%' ORDER by name
SELECT id, name FROM myHugeTable where name like 'B%' or 'b%' ORDER by name
Also, check to ensure your computer has enough memory (at least 1Gbyte, with 2GBytes better). To check into this:
Go to <properties><advanced><enviornment variables> and add the following enviornment variable:
JAVA_OPTS -Xmx1024m
This should allow your JVM to use up a lot more memory (assuming your machine has 1Gbytes of memory).
Are you running tomcat from within Eclipse when this happens? If so, in Eclipse, from the menu go to <window><preferences><tomcat><jvm settings><append to jvm parameters><add> and enter -Xmx1024m
Next, on your desktop, try <cntr><alt><del> <task manager> <performance> and see how much memory you are using with your IDE running before you run your application, then after you run it. Buy more memory if you need it (its cheap!!!). You probably should have at least 2 Gigabtyes. Wouldn't hurt to defragment your hard disk at this time too.

Similar Messages

  • BODS 3.2: Error opening ABAP file while trying to read ECC table

    I have an ABAP data flow where I'm trying to read an ECC table (I'm following the DS 3.2 tutorial on "Extracting SAP Application Data").  I have the ECC datastore store set up with the following:
    ABAP execution option = Generate and Execute
    Data transfer method = Shared directory
    Working directory on SAP server =
    A\interfaces\D11\110 (SAP app server)
    Application path to the shared directory =
    A\interfaces\D11\110 (SAP app server)
    Generated ABAP directory =
    B\opt\ds\ds32dev1\transfer_ABAP (DS server)
    However, when I run the job I get the following error:
    R3C-150301     12/2/2011 1:54:41 PM     Error opening file <//B/opt/ds/ds32dev1/transfer_ABAP/zcustdim.aba>.
    I have verified the DS userid has read/write access to the Generated ABAP directory.  Any ideas on what I'm doing wrong?
    Thanks...

    Hi Brad, Sorry Tushar,
    I see the discussion has moved on (to the second page ) Still the below should apply. Please give a look and see if it explains things.
    It looks like a permission issue creating the file if I'm not wrong.
    http://wiki.sdn.sap.com/wiki/display/EIM/How+to+execute+the+ABAP
    point 3.
    It will be the abap script that will write the file into the folder you added in the DataStore.
    You can even goto the folder the abap code is in and search for the path in there.
    Here a good  example for windows from the wiki
    http://wiki.sdn.sap.com/wiki/display/EIM/shared_directory+transport+method
    with this important sentence:
    However it has to be made certain that the OS user running the ABAP has the
    permission to write there, and the user running the job requires read
    permissions one the directory and the created file. What OS user is writing the
    file? It is the user running the entire SAP instance. And who is reading the
    file? The user running the DI service
    So:
    The working directory = where the SAP user = the user that is running the SAP installation is instructed to write the .dat file. The folder is probably local to the SAP installation?
    Shared folder is for the JobServer to pick up that file. Same physical directory ...but this time from the DS user prospective. Is the JobServer on the same machine or does the folder have to be mapped?
    Keep in mind that for a job server on Windows, Windows shares with \\<server>\path are OK, but I don't believe there is any other network drive mechanism, so no NFS paths in the <server>:/ or trying // etc.
    Regards
    Norbert
    P.S. In production you should then switch to "execute" instead of load and execute and an ftp server instead of shared folders.

  • LPX-00601: Invalid token in: err while trying to read data from xml

    Hey ,
    While trying to read data from xml i got err:
    LPX-00601: Invalid token in: 'path'
    the proc. i'm using to read data from the xml is:
    procedure read_xml_file_test (in_filename in varchar2)
    is
    my_dir  varchar2(20) := 'XML_DIR;
      cur_emp2 number:=0;
      l_bfile   BFILE;
      l_clob    CLOB;
      l_parser  dbms_xmlparser.Parser;
      l_doc     dbms_xmldom.DOMDocument;
      l_nl      dbms_xmldom.DOMNodeList;
      l_nl2    dbms_xmldom.DOMNodeList;
      l_n       dbms_xmldom.DOMNode; 
      l_n2     dbms_xmldom.DOMNode;
      l_temp    VARCHAR2(1000);
    v_errors        internet_clients.errors%type; 
    src_csid       NUMBER := NLS_CHARSET_ID('UTF8'); 
    dest_offset    INTEGER := 1;
    src_offset     INTEGER := 1;
    lang_context   INTEGER := dbms_lob.default_lang_ctx;
    warning        INTEGER;
    v_count       number := 0;   --total records
    v_count_s      number := 0;   -- sucsess record
    v_count_f      number := 0;   -- failed record
    v_flag varchar2(1);
    v_char2 varchar2(1);
    v_l1 VARCHAR2(255);
    v_l2 VARCHAR2(255);
    v_l3 VARCHAR2(255);
    v_l4 VARCHAR2(255);
    v_l6 VARCHAR2(255);
    BEGIN
      l_bfile := BFileName(my_dir, in_filename);
      dbms_lob.createtemporary(l_clob, cache=>FALSE);
      dbms_lob.open(l_bfile, dbms_lob.lob_readonly);
      dbms_lob.loadclobfromfile(l_clob, l_bfile, dbms_lob.getlength(l_bfile), dest_offset,src_offset, src_csid, lang_context, warning);                        
      dbms_lob.close(l_bfile);
      -- make sure implicit date conversions are performed correctly
      dbms_session.set_nls('NLS_DATE_FORMAT','''DD/MM/RR HH24:MI:SS''');   
      -- Create a parser.
      l_parser := dbms_xmlparser.newParser;
      -- Parse the document and create a new DOM document.
        dbms_xmlparser.parseClob(l_parser, l_clob);
        l_doc := dbms_xmlparser.getDocument(l_parser);
      -- Free resources associated with the CLOB and Parser now they are no longer needed.
      dbms_lob.freetemporary(l_clob);
      dbms_xmlparser.freeParser(l_parser);  
      -- Get a list of all the  nodes in the document using the XPATH syntax.
      l_nl := dbms_xslprocessor.selectNodes(dbms_xmldom.makeNode(l_doc),'soap:Envelope/soap:Body/GetFieldsNameResponse/GetFieldsNameResult/diffgr:diffgram/DataSet_FRM_GANERIC_PROP/FRM_GANERIC_PROP');
      -- Loop through the list and create a new record in a tble collection
      -- for each  record.
      FOR cur_emp IN 0 .. dbms_xmldom.getLength(l_nl) - 1 LOOP
       l_n := dbms_xmldom.item(l_nl, cur_emp);
       cur_emp2:=0;
       loop
         v_count := v_count + 1;
         begin
        -- Use XPATH syntax to assign values to he elements of the collection.
        dbms_xslprocessor.valueOf(l_n,'L1/text()',v_l1);
        dbms_xslprocessor.valueOf(l_n,'L2/text()',v_l2);
        dbms_xslprocessor.valueOf(l_n,'L3/text()',v_l3);
        dbms_xslprocessor.valueOf(l_n,'L4/text()',v_l4);
        dbms_xslprocessor.valueOf(l_n,'L6/text()',v_l6);
            exception
      when others then 
      null;
      end;
    exit when cur_emp2=dbms_xmldom.getLength(l_nl2);
      END LOOP;
      end loop;
      -- Free any resources associated with the document now it
      -- is no longer needed.
      dbms_xmldom.freeDocument(l_doc);
      --remove file to another directory   
          --COMMIT;  -- do not use the commit if you want to run this proc. from within the search_dir_list proc , because it execute a select from tmp table dir_list which contain a "on commit delete rows"  clause.    
      /*EXCEPTION
      /*WHEN OTHERS THEN
       dbms_lob.freetemporary(l_clob);
        dbms_xmlparser.freeParser(l_parser);
       dbms_xmldom.freeDocument(l_doc);
        null;
        ROLLBACK; */
    END;While trying to execute this i got:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00601: Invalid token in: 'soap:Envelope/soap:Body/GetFieldsNameResponse/GetFieldsNameResult/diffgr:diffgram/DataSet_FRM_GANERIC_PROP/FRM_GANERIC_PROP'
    ORA-06512: at "XDB.DBMS_XSLPROCESSOR", line 939
    ORA-06512: at "XDB.DBMS_XSLPROCESSOR", line 967
    ORA-06512: at "MARKET.READ_XML_FILE_TEST", line 51
    ORA-06512: at line 1
    i guess i mised somthing at the line
    l_nl := dbms_xslprocessor.selectNodes(dbms_xmldom.makeNode(l_doc),'soap:Envelope/soap:Body/GetFieldsNameResponse/GetFieldsNameResult/diffgr:diffgram/DataSet_FRM_GANERIC_PROP/FRM_GANERIC_PROP');i attached here part of my xml:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <soap:Body>
    - <GetFieldsNameResponse xmlns="http://tempuri.org/">
    - <GetFieldsNameResult>
    - <xs:schema id="DataSet_FRM_GANERIC_PROP" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    - <xs:element name="DataSet_FRM_GANERIC_PROP" msdata:IsDataSet="true" msdata:Locale="he-IL">
    - <xs:complexType>
    - <xs:choice minOccurs="0" maxOccurs="unbounded">
    - <xs:element name="FRM_GANERIC_PROP">
    - <xs:complexType>
    - <xs:sequence>
      </xs:sequence>
      </xs:complexType>
      </xs:element>
      </xs:choice>
      </xs:complexType>
      </xs:element>
      </xs:schema>
    - <diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
    - <DataSet_FRM_GANERIC_PROP xmlns="">
    - <FRM_GANERIC_PROP diffgr:id="FRM_GANERIC_PROP1" msdata:rowOrder="0">
      <L1>val1</L1>
      <L2>val2</L2>
      <L3>val3</L3>
      <L4>val4</L4>
      <L6>val6</L6>
      </FRM_GANERIC_PROP>
      </DataSet_FRM_GANERIC_PROP>
      </diffgr:diffgram>
      </GetFieldsNameResult>
      </GetFieldsNameResponse>
      </soap:Body>
      </soap:Envelope>I Guess it somthing that have to do with node definition ,
    but i have tried so many combinations and none ot those worked for me.
    i'm deeply stuck here.
    What do i miss here?
    THANKS yair
    Edited by: yair_k on 02:30 14/10/2010

    Hey , after got a lot of success with the xml reading part , i wonder if you
    can help me with a problem while trying to reading that xml from a web service.
    i use a procedure as followes:
    FUNCTION read_from_web_service(in_username in varchar2 , in_password in varchar2)
      RETURN CHAR
    AS
      l_service          UTL_DBWS.service;
      l_call             UTL_DBWS.call;
      l_a_ns                     VARCHAR2(32767);
      l_wsdl_url         VARCHAR2(32767);
      l_namespace        VARCHAR2(32767);
      l_service_qname    UTL_DBWS.qname;
      l_port_qname       UTL_DBWS.qname;
      l_operation_qname  UTL_DBWS.qname;
      l_xmltype_in       SYS.XMLTYPE;
      l_xmltype_out      SYS.XMLTYPE;
      l_return           VARCHAR2(32767);
    BEGIN
      l_wsdl_url        := 'http://www.company.com/publisherService/ServiceGetpublisherTable.asmx?wsdl';
      l_namespace       := 'http://tempuri.org/';
      l_service_qname   := UTL_DBWS.to_qname(l_namespace, 'ServiceGetpublisherTable');
      l_port_qname      := UTL_DBWS.to_qname(l_namespace, 'ServiceGetpublisherTableSoap');
      l_operation_qname := UTL_DBWS.to_qname(l_namespace, 'GetFieldsName');
      l_service := UTL_DBWS.create_service (
        wsdl_document_location => URIFACTORY.getURI(l_wsdl_url),
        service_name           => l_service_qname);
      l_call := UTL_DBWS.create_call (
        service_handle => l_service,
        port_name      => l_port_qname,
        operation_name => l_operation_qname);
      l_xmltype_in := SYS.XMLTYPE('<?xml version="1.0" encoding="utf-8"?>
        <GetFieldsName xmlns="' || l_namespace || '">
        <user>' || in_username || '</user>
        <password>'|| in_password || '</password>
        </GetFieldsName>');
      l_xmltype_out := UTL_DBWS.invoke(call_Handle => l_call,
                                       request     => l_xmltype_in);
      UTL_DBWS.release_call (call_handle => l_call);
      UTL_DBWS.release_service (service_handle => l_service);
      l_return := l_xmltype_out.extract('//GetFieldsName/text()').getstringVal();
       dbms_output.put_line(l_return);     
      RETURN l_return;
    END;but when i run it i got message:
    ORA-29532: Java call terminated by uncaught Java exception: javax.xml.rpc.soap.SOAPFaultException: Server did not recognize the value of HTTP Header SOAPAction: .
    regarding the line:
    l_xmltype_out := UTL_DBWS.invoke(call_Handle => l_call,
    request => l_xmltype_in);
    So , i deeply stuck here!
    my web service description is:
      <?xml version="1.0" encoding="utf-8" ?>
    - <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://tempuri.org/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    - <wsdl:types>
    - <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
    - <s:element name="GetFieldsName">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="user" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetFieldsNameResponse">
    - <s:complexType>
    - <s:sequence>
    - <s:element minOccurs="0" maxOccurs="1" name="GetFieldsNameResult">
    - <s:complexType>
    - <s:sequence>
      <s:element ref="s:schema" />
      <s:any />
      </s:sequence>
      </s:complexType>
      </s:element>
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetMSG_ByUser_Not_Readed">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="user" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetMSG_ByUser_Not_ReadedResponse">
    - <s:complexType>
    - <s:sequence>
    - <s:element minOccurs="0" maxOccurs="1" name="GetMSG_ByUser_Not_ReadedResult">
    - <s:complexType>
    - <s:sequence>
      <s:element ref="s:schema" />
      <s:any />
      </s:sequence>
      </s:complexType>
      </s:element>
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="SetMSG_ByUser_Not_Readed_As_Readed">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="user" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="Rec_Id" type="s:string" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="SetMSG_ByUser_Not_Readed_As_ReadedResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="SetMSG_ByUser_Not_Readed_As_ReadedResult" type="s:boolean" />
      </s:sequence>
      </s:complexType>
      </s:element>
      </s:schema>
      </wsdl:types>
    - <wsdl:message name="GetFieldsNameSoapIn">
      <wsdl:part name="parameters" element="tns:GetFieldsName" />
      </wsdl:message>
    - <wsdl:message name="GetFieldsNameSoapOut">
      <wsdl:part name="parameters" element="tns:GetFieldsNameResponse" />
      </wsdl:message>
    - <wsdl:message name="GetMSG_ByUser_Not_ReadedSoapIn">
      <wsdl:part name="parameters" element="tns:GetMSG_ByUser_Not_Readed" />
      </wsdl:message>
    - <wsdl:message name="GetMSG_ByUser_Not_ReadedSoapOut">
      <wsdl:part name="parameters" element="tns:GetMSG_ByUser_Not_ReadedResponse" />
      </wsdl:message>
    - <wsdl:message name="SetMSG_ByUser_Not_Readed_As_ReadedSoapIn">
      <wsdl:part name="parameters" element="tns:SetMSG_ByUser_Not_Readed_As_Readed" />
      </wsdl:message>
    - <wsdl:message name="SetMSG_ByUser_Not_Readed_As_ReadedSoapOut">
      <wsdl:part name="parameters" element="tns:SetMSG_ByUser_Not_Readed_As_ReadedResponse" />
      </wsdl:message>
    - <wsdl:portType name="ServiceGetpublisherTableSoap">
    - <wsdl:operation name="GetFieldsName">
      <wsdl:input message="tns:GetFieldsNameSoapIn" />
      <wsdl:output message="tns:GetFieldsNameSoapOut" />
      </wsdl:operation>
    - <wsdl:operation name="GetMSG_ByUser_Not_Readed">
      <wsdl:input message="tns:GetMSG_ByUser_Not_ReadedSoapIn" />
      <wsdl:output message="tns:GetMSG_ByUser_Not_ReadedSoapOut" />
      </wsdl:operation>
    - <wsdl:operation name="SetMSG_ByUser_Not_Readed_As_Readed">
      <wsdl:input message="tns:SetMSG_ByUser_Not_Readed_As_ReadedSoapIn" />
      <wsdl:output message="tns:SetMSG_ByUser_Not_Readed_As_ReadedSoapOut" />
      </wsdl:operation>
      </wsdl:portType>
    - <wsdl:binding name="ServiceGetpublisherTableSoap" type="tns:ServiceGetpublisherTableSoap">
      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="GetFieldsName">
      <soap:operation soapAction="http://tempuri.org/GetFieldsName" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="GetMSG_ByUser_Not_Readed">
      <soap:operation soapAction="http://tempuri.org/GetMSG_ByUser_Not_Readed" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="SetMSG_ByUser_Not_Readed_As_Readed">
      <soap:operation soapAction="http://tempuri.org/SetMSG_ByUser_Not_Readed_As_Readed" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:binding name="ServiceGetpublisherTableSoap12" type="tns:ServiceGetpublisherTableSoap">
      <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="GetFieldsName">
      <soap12:operation soapAction="http://tempuri.org/GetFieldsName" style="document" />
    - <wsdl:input>
      <soap12:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap12:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="GetMSG_ByUser_Not_Readed">
      <soap12:operation soapAction="http://tempuri.org/GetMSG_ByUser_Not_Readed" style="document" />
    - <wsdl:input>
      <soap12:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap12:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="SetMSG_ByUser_Not_Readed_As_Readed">
      <soap12:operation soapAction="http://tempuri.org/SetMSG_ByUser_Not_Readed_As_Readed" style="document" />
    - <wsdl:input>
      <soap12:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap12:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:service name="ServiceGetpublisherTable">
    - <wsdl:port name="ServiceGetpublisherTableSoap" binding="tns:ServiceGetpublisherTableSoap">
      <soap:address location="http://www.company.com/publisherService/ServiceGetpublisherTable.asmx" />
      </wsdl:port>
    - <wsdl:port name="ServiceGetpublisherTableSoap12" binding="tns:ServiceGetpublisherTableSoap12">
      <soap12:address location="http://www.company.com/publisherService/ServiceGetpublisherTable.asmx" />
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>also i have to mention that i have changed publisher references inside the code , and i also canot
    supply username and password , so i guess you canot test it. still i not shure if my definitions (namespace est.) inside my code defined correctly.
    hope you can help me with this.
    regards
    yair

  • Content Library Explorer error -error occurred while trying to read the package metadata (can't find package in console)

    I have SCCM 2012 SP1 recently upgraded to R2. I'm currently setting this up to migrate my production 2007 site. However, I'm trying to use Content Library Explorer on my DP's. I have 3 dps. DP2 connects fine but when i try and connect to DP1 +3 i get
    the following error: An error occurred while trying to read the package metadata. The package
    PackageID is invalid and must be redistributed from the Configuration Manger console.
    Now i can't find any trace of this at all in the console. In the SMSPackagesHist table i can see the package ID and the deleted time was 29-07-2013. This most likely was me trying to create software updates back last year when i initially setup the site.
    The package is not listed as content on any of the 3 DPs and i can't find any trace of it at all in the console.
    I'm not very familiar with 2012, so not sure what I've done.
    Any help or advice appreciated.
    Thanks
    Jane

    Hi Torsten,
    thanks for this. I did a search of the WMI key and found this document: http://blogs.technet.com/b/configmgrteam/archive/2012/05/07/troubleshooting-content-mismatch-warnings-on-a-distribution-point-in-system-center-2012-configuration-manager.aspx (does
    this mean it is supported?)
    however, on those 2 DP's in that class, the suspect package ID is not listed!???
    Any more ideas?
    Many thanks
    Jane

  • An error occured while trying to read data

    Hi RoboHelpers,
    While opening my main project today (large project w/ thousands of topics) my project froze twice and wasn't responding, so I forced it to close via Task Manager and deleted the CPD file, thinking it was the culprit.
    I then got this error when I tried to reopen the .XJP file:
    "An error occurred while trying to read data from
    <D:\Hg\PcdmisQA\Pcdlrn\CoreHelp\13_hardware_topics\13_hardware_topics.fpj><1>."
    I clicked OK to get past this error, and now my htms are not appearing inside the Topic List for 13_hardware_topics and the TOC links show that the topics don't exist. But the .htms do exist inside the actual directory in Windows.
    I think I can fix this by importing the .htms inside 13_hardware_topics, but I'm not sure why it happened in the first place. Is there a way to just fix the .fjp file instead--if this is indeed the problem?
    My 13_hardware_topics.fjp structure looks like this (sorry for the post length):
    <?xml version="1.0" encoding="utf-8"?>
    <rhpml majorversion="2" minorversion="0">
        <folders/>
        <topics>
            <topic>
                <name>Tool_ID.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Probe_Description.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Defining_Hardware.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Defining_Hardware_Introduction.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>List_of_Available_Tools.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Tool_Type.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Understanding_the_Probe_Utilities_dialog_box.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>use_trax_calibration.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Defining_Probes.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Use_Partial_Calibration.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Probe_File_Name.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>User_Defined_Calibration_Order_check_box.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Search_Override_I_J_K.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Optical.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Showing_an_Animated_Probe_Changer.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Using_the_Quick_Fixture_Dialog_Box.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Inserting_Quick_Fixtures.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Additional_Information_for_Creating_Multiple_Arm_Machines.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>print_list.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>example_printout.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Defining_Machines.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Selecting_or_Creating_a_Machine_for_Display.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Deleting_the_LOADMACHINE_Command.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Ball.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Removing_the_Animated_Machine_from_the_Graphics_Display_Window.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>collision_tolerance.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Spherical_Tool_and_Optical_Tip.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Additional_Information_on_the_Machine_s_Axes.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Migrating_Part_Programs_Between_Machines_Using_PH10_and_Tesa_Star_M_Probes.htm</nam e>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Probe_Setup.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>autocalibrate_probe.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Specifying_Collision_Tolerances.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Using_Existing_Quick_Fixtures.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Step_4_-_Begin_Calibration.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Step_3_-_Define_Ports.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Step_8_-_Measuring_Port_2.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Step_6_-_Measuring_Port_1.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Step_7_-_Measuring_Port_3.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Step_9_-_Review_Calibration_Results.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Displaying_Existing_Machines_in_the_Graphics_Display_Window.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Calibrating_the_FCR25_Probe_Changer.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Inserting_and_Removing_Quick_Fixtures.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Selecting_the_No_Machine_Item.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Additional_Information_on_the_Machine_s_Home_Position_area.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Deleting_the_Machine.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Creating_a_Relationship_between_the_Machine_and_the_Part.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>defining_probe_changers.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Quick_Fixture_Mode_s_Mouse_and_Keyboard_Commands.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Adding_Custom_Fixtures.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>add_tool.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>With_Averaging.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Shank_Optical_Vector_I_J_K.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Fast_Probe_Mode.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>X_Y_and_Z_Center.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Delete_Tool.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>ScanRdv.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>available_tip_types.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Thickness_of_the_ball_tip.htm</name>
                <name>PrbRdv.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Edit.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Shank_Vector_I_J_K.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Spherical_Tool_and_Ball_Tip.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>edit_probe_components.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Edit_Tool.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Spherical_Tool_and_Ball_Tip.htm</name>
                <name>To_delete_a_wrist_angle.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Probe_Setup.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Measure.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Spherical_Tool_and_Disk_Tip.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>PrbRdv.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Previewing_your_Probe_Configuration.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>use_unit_calibration_data.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>New_Angles_List_box.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>To_Display_the_Probe_Changer_in_the_Graphics_Display_window.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>calibration_date_and_time.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Global_Used.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Individual_Angle_Data.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Spherical_Tool_and_Barrel_Shank_Tip.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>calibration_date_and_time.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Equally_Spaced_Angles_Data.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Reset_Tips.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Spherical_Tool_and_Disk_Tip.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>use_unit_calibration_data.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>dmis_label.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>add_angles.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Notes_on_the_Add_Angle_option.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Working_with_the_Angle_Grid.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>available_tip_types.htm</name>
                <name>calibration_date_and_time.htm</name>
                <name>Results.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Spherical_Tool_and_Ball_Tip.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Reset_Tips.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Diameter_Length.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Previewing_your_Probe_Configuration.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>User_Defined_Calibration_Order_check_box.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Use_Wrist_Map_If_Available_check_box.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Diameter_Length.htm</name>
                <name>Use_Wrist_Map_If_Available_check_box.htm</name>
                <name>Probe_Description.htm</name>
                <name>List_of_Available_Tools.htm</name>
                <name>Probe_File_Name.htm</name>
                <name>use_trax_calibration.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Step_2_-_Define_the_Mount_Point.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Use_Partial_Calibration.htm</name>
                <name>Probe_Description.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>autocalibrate_probe.htm</name>
                <name>Search_Override_I_J_K.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Disk.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Migrating_Part_Programs_Between_Machines_Using_PH10_and_Tesa_Star_M_Probes.htm</nam e>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Calibrating_the_ACR1_Probe_Changer.htm</name>
                <name>Step_1_-_Select_the_FCR25_Probe_Changer.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>example_printout.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Creating_a_Relationship_between_the_Machine_and_the_Part.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>defining_probe_changers.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Calibrating_the_CW43_Probe_Changer.htm</name>
                <name>Optical.htm</name>
                <name>example_printout.htm</name>
                <name>To_Display_the_Probe_Changer_in_the_Graphics_Display_window.htm</name>
                <name>defining_probe_changers.htm</name>
                <name>Inserting_Quick_Fixtures.htm</name>
                <name>Shank.htm</name>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Step_9_-_Review_Calibration_Results.htm</name>
                <name>Additional_Information_on_the_Machine_s_Axes.htm</name>
                <name>Step_5_-_Prepare_Probe_Changer.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Migrating_Part_Programs_Between_Machines_Using_PH10_and_Tesa_Star_M_Probes.htm</nam e>
                <name>Probe_Setup.htm</name>
                <name>Selecting_or_Creating_a_Machine_for_Display.htm</name>
                <name>Step_6_-_Measuring_Port_1.htm</name>
                <name>Step_9_-_Review_Calibration_Results.htm</name>
                <name>Quick_Fixture_Mode_s_Mouse_and_Keyboard_Commands.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
                <name>Step_6_-_Measuring_Port_1.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Inserting_and_Removing_Quick_Fixtures.htm</name>
                <name>SP600__Step_3_-_Prepare_for_Calibration.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Selecting_the_No_Machine_Item.htm</name>
                <name>Deleting_the_Machine.htm</name>
                <name>Creating_a_Relationship_between_the_Machine_and_the_Part.htm</name>
                <name>SP600__Step_6_-_Take_the_Third_Manual_Hit.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>SCP600__Step_2_-_Define_the_Mount_Point.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Showing_an_Animated_Probe_Changer.htm</name>
                <name>ACR1__Step_1_-_Select_the_ACR1_Probe_Changer.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>Additional_Information_for_Creating_Multiple_Arm_Machines.htm</name>
                <name>ACR1__Step_3_-_Define_the_Mount_Point.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>ACR1__Step_4_-_Define_Ports.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>ACR1__Step_5_-_Prepare_for_Calibration.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>ACR1__Step_6_-_Measure_Port_1.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>ACR1__Step_7_-_Measure_Port_8.htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>ACR1__Step_9_–_Measuring_Datum_Sphere_with_PEM_Extension(s)_(optional).htm</name>
                <comments></comments>
                <frameset>0</frameset>
            </topic>
            <topic>
                <name>SP600__Step_4_-_Take_the_First_Manual_Hit.htm</name>
                <name>Step_1_-_Select_the_SP600_Probe_Changer.htm</name>
                <name>ACR1_Step_10_Review_Calibration_Results.htm</name>
        </topics>
    </rhpml>
    Thanks,
    Jared

    Hi Jared.
    I don't know if this is at the root cause of the error but I see that the closing </name> tag has a number of instances where there is a spurious space inside it:
    <topic>
        <name>Additional_Information_for_Creating_Multiple_Arm_Machines.htm</ name>
        <comments></comments>
        <frameset>0</frameset>
    </topic>
    <topic>
        <name>Additional_Information_on_the_Machine_s_Home_Position_area.htm< /name>
        <comments></comments>
        <frameset>0</frameset>
    </topic>
    <topic>
        <name>Creating_a_Relationship_between_the_Machine_and_the_Part.htm</n ame>
        <comments></comments>
        <frameset>0</frameset>
    </topic>
    There are others.
      The RoboColum(n)
      @robocolumn
      Colum McAndrew

  • When I try to install Itunes, I get this error: (translated from Norwegian) There was a network error while trying to read from the file: C: \ windows \ installer \ iTunes.msi I have tried many times to reinstall, but nothing helps, please help me.

    When I try to install Itunes, I get this error: (translated from Norwegian) There was a network error while trying to read from the file: C: \ windows \ installer \ iTunes.msi I have tried many times to reinstall, but nothing helps, please help me.

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Mail crashes while trying to read "Table of Contents"

    Whenever I try to open Mail, it sits there trying to read the table of contents, after about 30 seconds, it starts to play with the beach ball, then quits. I've tried repairing disk, permissions, and removing all the files I can think would help. I've run out of ideas, and would really like to get this fixed.
    P.S. I have 3 other accounts on my computer, and they get mail from the same place, and don't have any problems.
    P.P.S. I have 2882 messages in my inbox, and roughly 20 GB disk space left.

    You removed all mailboxes (.mbox files) located within this problem account named folder at Home > Library > Mail and the same occurs when re-launching Mail?
    The TableofContents file is a package file for a .mbox so it is hidden.
    I'm not sure how you removed all mailboxes for this account but quit Mail first and using the Finder, go to Home > Library > Mail > this POP account named folder (named by the user name and incoming mail server for the account). Move the account named folder to the Desktop.
    Launch Mail and if it launches successfully without locking up and quitting, a new account named folder will be created automatically by Mail within the account named folder.
    All email clients have limits and the recommended size limit for a Jaguar or Panther mailbox is 1GB and for Tiger Mail, 2GB.
    An "overstuffed" mailbox issue can occur at any mailbox size (which means the mailbox has some corruption and/or is over the recommended size limit) but is more likely to occur depending on the number and size of message attachments contained in a mailbox and especially as a Jaguar or Panther mailbox approaches or exceeds 1GB in size.
    Since an account's Inbox mailbox is usually the most active mailbox, it is not a good idea to use an account's Inbox mailbox as the final storage location for all received messages not deleted.

  • Error while trying to view the details table from Show/Hide icon

    What we are having is two tables, Outer and Inner, having Outer VO and Inner VO,outer VO is linked with inner VO. Now when I am trying to view the inner table
    through Show/Hide icon to see the details of the table ,I am getting an error like ...
    The record with primary key values {2280} could not be found in view object MisForecastHeadOfiiceAM.InnerTableVO_OuterInnerVL_InnerTableVO.
    I want to know how this error can be resolved

    Hi Abdul,
    We are not getting error while searching. As said earlier
    While search for the first time > We could see proper results in out table and Even show/hide is working fine and display correct data in Inner table
    When searching for the second time with different criteria > We could see proper results in outer table and on clicking show/hide (to view inner table data), we are getting error.
    The record with primary key values {2280} could not be found in view object AM.ViewLinkVL_InnerTableVO
    From the error message, we found that its trying to get the row (of inner table) pertaining to first search results and not for the outer table row in context to second search results.

  • OutOfMemoryError while attempting to read 60MB file into HashMap objects

    Hi,
    I've a 60MB file with about 60000 records that I'm trying to read into a HashMap of <String, String[]>. However, as far as I can see it can only manage reading in 12000 before it falls over with an OutOfMemoryError.
    My eclipse.ini contains the following entries:
    -Xms40m
    -Xmx512m
    I've changed Xmx512m to Xmx1024m but this hasn't made a difference.
    My program involves reading in the file, sorting it based on 2 attributes of a record and then outputting it in the sorted order.
    I've tried a few other methods around just reading in the attributes that I need, doing the sort with those, looking for the rows I need from the input file sequentially and then outputting this in the correct order but this seems to be taking forever, well over 12 hours!
    How else can I go about this? Thanks.

    Here is the code. Sorry, how do I go about compiling this class as it's looking for the CsvReader jar but can't find. Have tried the -cp option but doesn't seems to work. Thanks.
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.IOException;
    import java.util.HashMap;
    import com.csvreader.CsvReader;
    public class Reader {
          * @param args
          * @throws IOException
         public static void main(String[] args) throws IOException {
              CsvReader reader = new CsvReader(new FileReader("C:\\temp\\gen_ppl.csv"), '|');
              HashMap<String, String[]> allCorpIDs = new HashMap<String, String[]>();
              while(reader.readRecord())
                   allCorpIDs.put(reader.get(0), reader.getValues());
    }

  • Getting Page not found while trying to read ws-addressing.xsd file in IE

    Hi All,
    Here I am creating dynamic partner link to call OSB service in my BPEL process. I wan make it dynamic to change run time server address and port numbers. Here I am getting Error (Error occurred reading inline schemas) while creating reference variable as per BPEL cook book. To resolve that exception, I have created /bpel/system/xmllib/ folders in SOA 11g and placed ws-addressing.xsd file. After I am trying to import in BPEL process, still I am getting same Exception.
    Even I tried to read ws-addressing.xsd file through IE browser (http://Host:Port/orabpel/xmllib/ws-addressing.xsd) after placing that directory(/bpel/system/xmllib/). My SOA server and everything is running.
    Thanks in advance.
    mally

    Paul,
    You can try the suggestion in this thread on the XE forum:
    Re: Problem with importing HTML DB applications
    It also shows how to turn on logging in the XE web server.

  • Error while trying to read more number of data via Serial port

    Hi All,
    I'm newbie to Serial Port programming. I'm trying to read data from dos based system which is sending 150 characters (including) at a time. That time my programm was fine but now they increased the length of the characters 300, now my programming couldn't read data. I'm using byte array to capture the data byte buff = new byte[3048*3048]Ypur reply would greatly appreciate.

    You have a byte array with more than 9 million bytes. What does that have to do with reading 300 characters?

  • Problems while trying to read

    Hi,
    I am trying to read the "Received" headers for an email that is coming into my inbox. The headers are long and hence getting "folded". For example an email has these 2 headers [besides others]:
    Received: by 10.54.23.20 with SMTP id 20cs33514wrw; Fri, 8 Apr 2005 11:
    04:10 -0700 (PDT)
    Received: by 10.54.20.77 with SMTP id 77mr1958208wrt; Fri, 08 Apr 2005
    11:04:10 -0700 (PDT)
    You will note that there are 2 "received" headers. The first one is getting folded just after the hour [and  ":"] has been specified (folds just after Fri, 8 Apr 2005 11: )
    The second one is getting folded just after the year has been specified.
    The first lines of both the headers end with a CLRF
    The second lines of both the headers start with a white space [simple space]. Folds just after Fri, 08 Apr 2005
    As per documentation of Javamail:
    "Unfolding is accomplished by regarding CRLF immediately followed by a LWSP-char as equivalent to the LWSP-char."
    If I do that [replace the CLRF and the next white space into a single white space] - the format of the first header's date is invalid [as the hour and minute have an extra space in it] - "Fri, 8 Apr 2005 11: 04:10 -0700 (PDT)" [hence not parse-able]
    In this case the date in the second header is valid.
    Instead if I replace the CLRF and white space with an empty string [no white space] the first header becomes valid. However, the date in the 2nd header is not more valid [As the date is translated into �Fri, 08 Apr 200511:04:10 -0700 (PDT)�. Note that the year and the hour get clubbed together].
    The 2 headers seem to have contradictory needs for unfolding.
    The headers are being set by external programs. My code is responsible for sending the email and then reading the email.
    Are there any utils that will abstract the "unfolding" logic?
    or is there a way to write a generic way to unfold email headers [which will support the above to headers]?
    Thanks,
    Annu

    PrintStream wr = new PrintStream(socket.getOutputStream());
    wr.close();I suspect this is the problem. You could try socket.shutdownOutput() - or you could just leave the streams alone and let socket.close() shut things down.
    Grant

  • Object Open Error while trying to export the vDataFact table

    I am getting an error when trying to export the vDataFact table to a flat file.  I have been able to do this several time before with the segment tables but would like to run this against vDataFact
    The error in the error log is:
       ERROR:
           Code............ -2147217915
           Description..... Object was open.
    The screen error is:
          The connection cannot be used to perform this operation.  It is either closed or invalid in this context.
    The line that appears to cause the issue is: Set rssql = API.DataWindow.DataAccess.farsKeySet(CStr(strSQL))
    Here is my complete script:
    Sub webdatafacts()
    'Declare Variables
       Dim objFileSystem 'File System
       Dim strFileName 'File name
       Dim ObjTextFile
    'SQL variables
      Dim strSQL ' Placehold for SQL Query
      Dim rssql 'Placeholder for result set for sql query execution
    'SQL Statement
                strSQL = "SELECT PartitionKey, Account, AccountX, Entity, EntityX, ICP, ICPX, UD1, UD1X, UD2, UD2X, UD3, UD3X, UD4, UD4X, Amount  FROM vDataFact" 
                set rsSQL = DW.DataAccess.farsFireHose(strSQL,False)
    'Create the filesystem object
                Set objFileSystem = CreateObject("Scripting.FileSystemObject")
                Set ObjTextFile = objFileSystem.OpenTextFile(DW.Connection.PstrDirInbox & "\VDataFactExport.txt", 2, TRUE, 0)  
                ObjTextFile.Close
                If Not rssql.EOF and Not rssql.BOF Then
                Set objTextFile = objFileSystem.OpenTextFile(DW.Connection.PstrDirInbox & "\VDataFactExport.txt", 2, FALSE, 0)
                Do Until rssql.EOF
    'Loop across all fields in recordset delimiting them with a tab key
                For i = 0 To rssql.Fields.Count -1
               strString = StrString & rssql(i) & vbTab
               Next
    'Output the resulting string to the text file
              ObjTextFile.WriteLine (strString)
    'Reset the string to empty for the next record
             strString = ""
    'Move to the next record in the recordset
                  rssql.MoveNext
                  Loop
    'Close the recordset and the text file
                 rssql.Close
                 ObjTextFile.Close
        End If
    'Destroy the instance of the recordset from memory
          Set rssql = Nothing
    End Sub

    Thanks, that was one of my suspicions, however, i was able to get the script to work by changing:
    set rsSQL = DW.DataAccess.farsFireHose(strSQL,False)
    to
    set rsSQL = DW.DataAccess.farsFireHose(strSQL,True)
    ...to be honest though, i'm not entirely sure why that fixed my issue

  • "java.lang.OutOfMemoryError: Java heap space"  while trying to read Excel.

    Hi Experts,
    Here is my query. I'm trying to upload excel data into database table. This excel contains more than 20000 records. I'm storing this data in a vector after reading it & passing this vector as a parameter to another method(not mentioned in the below code) which writes into the database. The code works for records <4000, but fails to read beyond that & throws exception as below.
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Java heap space
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:433)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:355)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    root cause
    javax.servlet.ServletException: Java heap space
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774)
         org.apache.jsp.readexcelsap_jsp._jspService(readexcelsap_jsp.java:365)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    root cause
    java.lang.OutOfMemoryError: Java heap space
    Below is the code for reference. Kindly Help me in getting this heap space error rectified or suggest me alternate ways.
    I tried increasing Heap space as googled but in vain.
    <%!
    private Vector readExcelSheet(String uploadedFilePath, int sheetNo) throws IOException
         Vector allRowInfo = null;
            try
                HSSFSheet sheet= getWorkSheet(uploadedFilePath,sheetNo);
                //System.out.println(uploadedFilePath);
                //System.out.println(sheetNo);
                //System.out.println("--Sheet--"+sheet);
                //System.out.println("--Sheet--"+sheet.getLastRowNum());
                if(sheet!=null)
                allRowInfo = new Vector();
                for(int i=0;i<=sheet.getLastRowNum();i++)
                    HSSFRow row= sheet.getRow(i);
                    Vector eachRowInfo = new Vector();
                    for(short j=0;j<row.getLastCellNum();j++)
                        eachRowInfo.add(getCellContents(row.getCell(j)));
                        //System.out.println("--"+row.getCell(j));
                    allRowInfo.add(eachRowInfo);
                else
                     allRowInfo = null;
                //return allRowInfo;
            catch (FileNotFoundException ex)
                 System.out.println("-- Error in reading--getWorkSheet -- 1--"+ex);
                 allRowInfo = null;
            catch (IOException ex)
                 System.out.println("-- Error in reading--getWorkSheet-- 2 --"+ex);
                 allRowInfo = null;
            catch (IndexOutOfBoundsException ex)
                 System.out.println("-- Error in reading--getWorkSheet-- 2 --"+ex);
                 allRowInfo = null;
            catch (NullPointerException ex)
                 System.out.println("-- Error in reading--getWorkSheet --"+ex);
                 allRowInfo = null;
            catch(Exception e)
                System.out.println(e.getMessage());
                e.printStackTrace();
                 allRowInfo = null;
            return allRowInfo;
    %>
    <%!
    private HSSFSheet getWorkSheet(String uploadedFilePath, int sheetNo) throws IOException
            HSSFSheet sheet = null;
            try
                FileInputStream inputStream=new FileInputStream(uploadedFilePath);
                POIFSFileSystem poisFile=new POIFSFileSystem(inputStream);
                HSSFWorkbook workBook= new HSSFWorkbook(poisFile);
                sheet = workBook.getSheetAt(sheetNo);
            catch (FileNotFoundException ex)
                 System.out.println("-- Error in reading--getWorkSheet --"+ex);
                 sheet = null;
            catch (IOException ex)
                 System.out.println("-- Error in reading--getWorkSheet --"+ex);
                 sheet = null;
            catch (IndexOutOfBoundsException ex)
                 System.out.println("-- Error in reading--getWorkSheet --"+ex);
                 sheet = null;
            catch (NullPointerException ex)
                 System.out.println("-- Error in reading--getWorkSheet --"+ex);
                 sheet = null;
            catch(Exception e)
                System.out.println(e.getMessage());
                e.printStackTrace();
                sheet = null;
             return sheet;
    %>
    <%!
    public String getCellContents(HSSFCell cell)
            String cellValue="";
            String cellValue1="";
            if(cell!=null)
                 int cellType= cell.getCellType();
                if(cellType==HSSFCell.CELL_TYPE_NUMERIC)
                    cellValue=(float)cell.getNumericCellValue()+"";           
                if(cellType==HSSFCell.CELL_TYPE_STRING)
                     cellValue1=cell.getStringCellValue();
                     StringBuffer sb = new StringBuffer();
                     for(int i = 0; i < cellValue1.length(); i++)
                            sb.append(cellValue1.charAt(i));
                         if(cellValue1.charAt(i)=='\'')
                              sb.append('\'');
                     cellValue = sb.toString();
           return cellValue;
    %>
    <html>
    <body>
    <%
         String file_Name="Myexcel.xls";
         String path = "D://Test Upload//"+file_Name;
         Vector list = readExcelSheet(path,0);
    </html>
    </body>Regards
    Venky
    Edited by: Venky_86 on Jun 17, 2009 6:05 AM

    HOW did you increase the heap space? As that is the only solution you have in this case really.
    It is a known fact that POI can use up a lot of memory for big spreadsheets. If at all possible, I would try to switch to plain text comma separated files / tab delimited files. If you cannot do that, I would try to put a size restriction on the sheets that your application will process to get rid of the heap space risk. A sheet can contain 20000 records, or four sheets can contain 5000 records; in both cases you process the exact same data, but at only 25% of the total memory usage.

  • Error while trying to search in advanced table with hide/show region

    Hi
    I have search region and a results table with a hide.show in it.I did a search initially and got the results.I clicked on the hide/show region to see the details.
    I put another search criteria in the search region and tried to do a search.
    I am getting the following error
    The search cannot be executed because the table has pending changes that would be lost...
    Can anybody help me on this please....
    Message was edited by:
    user580745

    Any setter/getter method being used on hide/show action? How are you enabling the details? Is there a transient column in your VO?
    --Shiv                                                                                                                                                                                                                                                                                       

Maybe you are looking for

  • Installer states it has been installed but all I get is a black screen. What can I do?

    I have an iMac and I installed the Adobe reader to open messages and information.  The installer stated I was finished but all I get is a black screen when i open a page that need the Adobe reader.  What can I do to fix this?

  • Html report naming

    Hello All My question is related to the two attached pdf files. The Report_BD file shows how I am saving a html report. There is no problem with the vi, it works fine. The issue I have is with the naming convention. The second pdf shows a directory l

  • Sudden failure of 32-bit Oracle 11g ODBC driver in 64-Bit Win7 box

    I had a working ODBC connection to an Oracle DB using the 32-bit 11g ODBC driver. Suddenly I was unable to connect, getting the error: Testing Connection Unable to connect SQLState=S1000 [Oracle][ODBC][Ora]ORA-00604: error occurred at recursive SQL l

  • HT1222 Is anyone having problems accessing server with iPhone 4S once updated to iOS7?

    I can't reach the server now that I've updated my iPhone 4S to iOS 7. Interestingly, I am using my iPad 2, which was updated at the same time, to post this! Anyone else having server issues with updates...and, in particular, updates of iPhone 4Ss and

  • Mac OS X v10.6 system update

    I currently have a Mac OS X v10.5.8 and need to update to 10.6 at least in order to download latest versions of other software such as Flash Player.  Since I can't seem to find this update anywhere, does anyone know how/where I can find this update?