XML parsing more than 1 GB size

Hi,
After I've gone through many sites regarding parsing XML file more than 1 GB in java, i've understood that StAX can be useful for this parsing. My question is now, can we do parallel xml parsing through StAX?
If yes, pls provide me the code snippet or approach.
Appreciated for quick responses.
rays9 -->

What is "parallel XML parsing"?

Similar Messages

  • On my new 15" MacBook Pro (June 2011) using Calendar I click the  corner arrow to enlarge the screen.  Now it is MORE than full size.  No arrow visible to return to small size.  Menu bar can't be grabbed.  I sweep and get back to desktop. No small screen?

    I installed Lion on my newish 15" MacBook Pro.  When using Calendar I click the  corner arrow to enlarge the screen.  Now ithe calendar is MORE than full size, no arrow visible to return to small size.  The Menu bar doesn't respond. when I try grabbing it to move the whole screen sideways.  When  I sweep I get back to desktop. I can sweep back to the calendar, but can't make it small again.  Menubar options include changing font size, but nothing about reverting to smaller window size.  Any suggestions?

    I installed Lion on my newish 15" MacBook Pro.  When using Calendar I click the  corner arrow to enlarge the screen.  Now ithe calendar is MORE than full size, no arrow visible to return to small size.  The Menu bar doesn't respond. when I try grabbing it to move the whole screen sideways.  When  I sweep I get back to desktop. I can sweep back to the calendar, but can't make it small again.  Menubar options include changing font size, but nothing about reverting to smaller window size.  Any suggestions?

  • Hi, i have edited a clip in hd with final cut, now I need to export it in 2K format . anybody knows how i can do it in FCP?  in internet I found only few info about 2K format: no more than frame size.  nothing about codec or similar. thanks for any help.

    Hi, i have edited a clip in hd with final cut, now I need to export it in 2K format. anybody knows how i can do it in FCP?  in internet I found only few info about 2K format: no more than frame size.  nothing about codec or similar. thanks for any help.

    SoCal thanks for the attention,
    sorry for having wrote the question directly in the subject, but first i wrote it by text edit then copied it, but in the wrong place too.....
    coming to my question, timeline settings are:
    as it is a commercial promo that must be projected in a multiplex cinema, the 2K format is needed.
    I've heard about transcoding services, and they are very expensive. 
    so i'm looking if there is a way to do everything by fcp.
    the project will be delivered as SD DVD for archive pourposes and as a single file for the projection or eventually transconding.
    p.s.: sorry for my english, i'm from italy: had my last english lesson 35 years ago!

  • Player to play videos more than 100mb size in iphone4?

    Player to play videos more than 100mb size in iphone4 please?

    never exp a player which didn't you should prob state what format file you are trying to play
    because the std mp4/m4v files the ios device

  • Photo Thumbs Weight More Than Full-Size Photos

    I have a problem with my iPod Video 30 GB. Basically when I try to sync full-size photos that weight about 3 GB and iTunes converts them into thumbs on iPod they show as being 12 GB. How can small thumbs weight more than actual full-size photos? Please note that I didn't check the "Copy full-size photos" checkbox. I tried deleting cache folder in the photos dir root and on the iPod HD. Any suggestions or solutions would be highly appreciated.
    Thank you,
    -Yan

    I'll try to find one--not in the Apple Discussions list.
    Thanks.

  • Error while processing XML for more than 5 serial no of a material

    Dear Expert
    While processing Idoc through some third party system we are getting foloowing error
    " No Batch input data for screen RIEQUI21 1000"
    As this error is related with serial no. But this happening only when we are using more than 5 Quantity for a material in a sales order and all having different Serial No. and orders having less than 5 quantity of material is running properly.
    We are using order type "ORDER 05" in Idoc config in SAP.
    Is there any note available in SAP  so that we can take more than 5 serial no for a material.
    Please revert with your valuable concern.
    Regards,
    Surendra

    Hi Gurus,
    Please revert with your responses. If you need any input from my side. please let me know.
    Its an issue of high priority.
    Thanks
    Surendra

  • PDFs are not shown correctly at more than 150% size

    Hi,
    we use Adobe Reader 8.1.2 and we can´t change it in our company.
    we now have the problems, that a few documents are not shown correctly, when they are shown with more than 150% on the screen.
    at 150% the signature and some lines are shown, when we look at the document witz 177% the lines and the signatures disappear.
    Does someone have the same problem AND a solution?
    Hajo

    Hi,
    I'm having exactly the same problem with my 80gb ipod on my new laptop which is also running Windows 7 64 bit and iTunes 10.1.1.4.
    I initially just tried syncing photos and according to iTunes it was still syncing after 4 hours, this was for 6700 photos and I wasn't asking for full resolution, but iPod just said Connected - Eject before disconnecting. I couldn't disconnect and in the end had to close iTunes before disconnecting, then there were no photos on the iPod.
    Disconnected, rebooted then when I connected the iPod I got the message that it was synced to another PC which I expected so i click to erase and synch, iPod initially showed synching then went to Connected - eject message but itunes was saying "finishing synch" it showed this for hours and out of 6543 songs on the PC it was onlt showing 6002 on iPod. I stopped the synch trie dejecting but got same message Iancenaz got. Again had to close iTunes before I could disconnect iPod safely.
    I'm going to try synching it back on mhy old laptop which is running Windows XP and an older version of iTunes as I suspect its either a Windows 7 or iTunes 10 problem.

  • Sychronize AO/AI buffered data graph and measure data more than buffer size

    I am trying to measure the response time (around 1ms) of the pressure drop indicated by AI channel 0 when the AO channel 0 gives a negetive single pulse to the unit under test (valve). DAQ board: Keithley KPCI-3108, LabView Version: 6.1, OS system: Win2000 professional.
    My problem is I am getting different timed graph between the AI and AO channels every time I run my program, except the first time I can get real time graph. I tried to decrease the buffer size less than the max buffer size of the DAQ board (2048 samples), but it still does unreal time graph from AI channel, seems it was still reading from old data in the buffer when AO writes the new buffer data, that is my guessing. In my p
    rogram, the AO and AI part is seperated, AO Write buffer is in a while loop while AI read is not. Would that be a problem? Or it's something else?
    Also, I am trying to measure data much larger than the board buffer size limit. Is it possible to make the measurement by modifying the program?
    I really appreciate any of your help. Thank you very much!
    Best,
    Jenna

    Jenna,
    You can modify the X-axis of a chart/graph in LabVIEW to display real-time. I have included a link below to an example program that illustrates how to do this.
    If you are doing a finite, buffered acquisition make sure that you are always reading everything from the buffer for each run. In other words, If you set a buffer size of 5000, then make sure you are reading 5000 scans (set number of scans to read to 5000). This will assure you are reading new data every time you run you program. You could always put the AI Read VI within a loop and read a smaller number from the buffer until the buffer is empty (monitor the scan backlog output of the AI Read VI to see how many scans are left in the buffer).
    You can set a buffer size larger than the FIFO
    buffer of the hardware. The buffer size you set in LabVIEW is actually a software buffer size within your computer's memory. The data is acquired with the hardware, stored temporarily within the on-board FIFO, transferred to the software buffer, and then read in LabVIEW.
    Are you trying to create a TTL square wave with the analog output of the DAQ device? If so, the DAQ device has counters that can generate a highly accurate digital pulse as well. Just a suggestion. LabVIEW has a variety of shipping examples that are geared toward using counters (find examples>>DAQ>>counters). I hope this helps.
    Real-Time Chart Example
    http://venus.ni.com/stage/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3E95556A4E034080020E74861&p_node=DZ52038&p_submitted=N&p_rank=&p_answer=&p_source=Internal
    Regards,
    Todd D.
    National Instruments
    Applications Engineer

  • Using more than 1mb size java aplication on my nok...

    i want to use 1.2MB size java aplication on my nokia 6300 phone.but my phone support only softwares smaller than 1 MB.so how i use this aplication on my phone?
    If i update my nokia 6300 phone software,will it solve this problem?

    No.
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

  • Why is image in Muse looks three times more than original size?

    Size in px is equal, but looks more! Photoshop pixel rulers differ from rulers in Muse. Why is that?
    P.S. Resolution of my monitor is 2440x1980. Sorry for the russian interface! Thank you!

    Size in px is equal, but looks more! Photoshop pixel rulers differ from rulers in Muse. Why is that?
    P.S. Resolution of my monitor is 2440x1980. Sorry for the russian interface! Thank you!

  • Importing XML containing more than 1 record

    Hi all,
    I am working on a book which will contain 100 chapters, with each chapter contained within a double spread page, therefore the book will contain 200 pages.  My book is currently contained within an excel spreadsheet and my idea is to convert it to a CSV file and then to an XML file, allowing me to import into a pre-prepared document containing 100 chapters, each containing the same xml tags and accompanying character/paragraph style.
    I hoped then that importing the xml would flow into its respective tags and then have each chapter filled accordingly.
    In testing out this concept, I sampled a simple spreadsheet with two rows of information, each representing a chapter.  From the resulting csv and xml, I was able to import into my 2 chapter InDesign document but only one of the chapters was populated.  So, Im pretty sure I did something wrong but not sure where in the process I went wrong.
    This is what I done (attached are screenshots of my source spreadsheet, xml and indesign chapter import);
    1)  Setup a document with a master page saved, the master page being the chapter format.
    2)  Added xml tags to document, along with the element hierarchical structure,
    3)  Assigned the xml tags to its respective text/graphic frame placeholder in the master page, however did not tag the 'root' or 'topic' tags since these are not text holders.
    4)  Assigned character and paragraph styles to each xml tag. Then resaved the new xml-tabbed master page.
    5)  Added another chapter (using my xml tabbed master page)
    6)  Saved the document.
    7)  Then imported the XML (converted ssheet to csv then to XML) into my document and though the first chapter populates with the correct information and font etc, the second chapter doesn't.
    As Im new to InDesign and XML, I suspect I have not set it up correctly.  Does anyone know where I am going wrong or alternatively,  is there another more efficient way of doing this (John Hawkinson suggested that 'Data Merge' would be more suitable).
    Thanks in Advance
    L
    ps.  Site is not allowing me to upload images at the mo. Will upload once able to.

    Thanks very much John...  Data Merge it is.  After all this fiddling about, Im glad I dont have to deal with XML anymore.
    After testing it, Data Merge (Single Record) does indeed do the trick and was always meant to deal with this kind of Indesign task, and not XML as I wrongly assumed (its limitation being that it cannot deal with >1 record plus does not generate extra pages to represent each record).
    These limitations were no such issue with the Data Merge functionality.
    I'll give a summary of what I done below, for the benefit of other forum users with a similar objective ;
    1)  Created a Template containing my master page (a spread of two different pages, ultimately containing different fields),
    2)  Template document settings started on an even page number with facing pages ON, in order that the only page(s) is this master spread.
    3)  Linked the data source (tabbed csv) to the template and then proceeded to link the fields in my data source to each of my text/graphic frame placeholders.
    4)  Saved the new master spread containing the mapped fields, and then resaved the template.
    5)  Template now contains the unmapped master page and a mapped master page,
    6)  Open the template to create a new document, but use only the mapped master page/spread as the only page(s) in your document.
    7)  Initiate the 'Create Merged Document' for 'Single Record' only,
    8)  A new document is produced containing as many master page duplicates as there are records in the original data source.
    9)  Do a find/replace to restore any line breaks, bullets etc which had to be substituted before converting your excel sheet to the csv file.
    10)  Voila !  Doube page spreads for each record, text and images where they should be and resembling my initial spreadsheet source.
    Many thanks to all on this forum, and especially to John Hawkinson for putting me in the right direction.
    L
    ps.  Will put a screenshot of my csv, the master page template and the final results shortly.

  • IOS -- Why recommended Flash is Much more than Image Size

    Its Generally Observed that when we download an image the Image size is Much less than the Recommended Flash Card Size.
    eg
    First Image Information CURRENT
    Image Name s72033-pk9sv-mz.122-18.SXD4.bin
    DRAM / Min Flash 512 / 64
    Size ~~ 48 Mb
    Second Image Information
    Image Name s72033-adventerprisek9_wan-mz.122-33.SXH3a.bin
    DRAM / Min Flash 512 / 512
    Size~~ 78Mb
    Why So ? Bcuz other files like config / vlan.dat dont demand Much space & For a Backup Image256 Mb would be Enough. Please Elaborate Your Answer

    Adesh,
    Generally memory sizes are incremental ie 16,32,64,128 etc... So of course you have to have the available amount of memory to be able to store the IOS on it. Many routers now come with the SDM GUI that takes up 6-8Mb on flash memory, and I think Cisco does take things like that into consideration.
    On your second image with the 512Mb recommended amount of flash I think is a typo. I see no reason why 512Mb is required for a 78Mb file. You could hold several IOS files with that amount of flash (which is nice) but not required.
    I believe that the vlan.dat and the startup-config are still housed in NVRAM. Which is a completely different file system than flash.
    HTH,
    Mark

  • BLOB size more than doc size.

    Hi All,
    We are migrating pdf documents to oracle database.The table in which we are inserting the BLOB's is under the Table Space "USER01".
    When we compare the free bytes availaability between before and after migration, it shows that about 5.23 GB of tablespace bytes has been occupied for
    insering 1930 BLOB's of size 447 MB.
    Is the BLOB's datatypes occupy this much space? Am I doing something wrong in calculating the size occupied?
    Is there any efficient way we can do store the BLOB into the Oracle database?.
    Any help will be appreciated.
    Thanks,
    Rana

    Hi Daniel,
    Thanks for the response, here is table table structure.
    CREATE TABLE RCONTENT
    DOC_ID INTEGER NOT NULL,
    PROD_ID VARCHAR2(60 BYTE) NOT NULL,
    INFO VARCHAR2(20 BYTE),
    DOC_TYPE VARCHAR2(20 BYTE),
    DOC_CONTENT BLOB
    This is existing in 9204 and 10gR1 both.
    Thanks,
    Rana.

  • Need to Increase more than LINE-SIZE 255?

    Does anybody know what the next larger Line-Size value I can bump this up to on a Std report? Or, doesn't it matter, meaning I can make it whatever I want.
    Thanks.

    Hi,
    You can have the line-size up to 1023 max.
    But as Rich suggested there format and all have to be considered if you are not able to take the print nicely.
    Cheers!!
    VEnk@

  • Can XML Update more than One Table in one call?

    Hello,
    I had a quick question. I have a client who is using both Oracle and SQL. They have an app developed in C sharp with XML whichs runs against SQL and want to port to Oracle.
    In SQL one XML statment can update multiple Tables. Can we do that in XML in Oracle? I know, we can't do that using PL/SQL.
    Subhash

    Anupama,
    Thanks for offering your help. I have attached the sample code. It works fione on SQL. I need to make sure it works on Oracle as well.
    Subhash
    ALTER PROCEDURE dbo.spx_PutPackage
    @XMLText text
    AS
    DECLARE @hDoc int,
    @Package_Tbl_Id Int,
    @Package_Type_Id Int,
    @Binder_Id Int,
    @Package_Name Varchar(256),
    @Package_Status_Type_Id Int,
    @Package_Approval_SeqNo Int,
    @Package_Current_Issue Int
    BEGIN
    --******************************** DELETE ********************************
    EXEC sp_xml_preparedocument @hDoc OUTPUT, @XMLText
    DECLARE xml_cursor
    CURSOR FOR
    SELECT Package_Tbl_Id,Package_Type_Id,Binder_Id
    FROM openxml(@hDoc,'/ROOT/Package[@Package_Status="D"]')
    With Package
    OPEN xml_cursor
    FETCH NEXT FROM xml_cursor INTO @Package_Tbl_Id,@Package_Type_Id,@Binder_Id
    WHILE @@fetch_status = 0
    BEGIN
    DELETE Package WHERE Package_tbl_Id = @Package_Tbl_Id
    --If this package is an addendum, a trigger decrements the Current_Addendum_Number
    --when the addendum table is deleted as part of the cascade delete.
    FETCH NEXT FROM xml_cursor INTO @Package_Tbl_Id,@Package_Type_Id,@Binder_Id
    End
    Close xml_cursor
    DEALLOCATE xml_cursor
    --******************************** INSERT ********************************
    DECLARE xml_cursor
    CURSOR FOR
    SELECT
    Package_Tbl_Id,
    Package_Type_Id,
    Binder_Id,
    Package_Name,
    Package_Status_Type_Id,
    Package_Approval_SeqNo,
    Package_Current_Issue
    FROM openxml(@hDoc,'/ROOT/Package[@Package_Status="I"]')
    With Package
    OPEN xml_cursor
    FETCH NEXT FROM xml_cursor INTO
    @Package_Tbl_Id,
    @Package_Type_Id,
    @Binder_Id,
    @Package_Name,
    @Package_Status_Type_Id,
    @Package_Approval_SeqNo,
    @Package_Current_Issue
    WHILE @@fetch_status = 0
    BEGIN
    INSERT INTO Package (Package_Tbl_Id, Package_Type_Id, Binder_Id, Package_Name,
    Package_Status_Type_Id, Package_Approval_SeqNo, Package_Current_Issue)
    VALUES(@Package_Tbl_Id,
    @Package_Type_Id, @Binder_Id, @Package_Name, @Package_Status_Type_Id,
    @Package_Approval_SeqNo, @Package_Current_Issue)
    FETCH NEXT FROM xml_cursor INTO
    @Package_Tbl_Id,
    @Package_Type_Id,
    @Binder_Id,
    @Package_Name,
    @Package_Status_Type_Id,
    @Package_Approval_SeqNo,
    @Package_Current_Issue
    End
    Close xml_cursor
    DEALLOCATE xml_cursor
    --******************************** UPDATE ********************************
    DECLARE xml_cursor
    CURSOR FOR
    SELECT
    Package_Tbl_Id,
    Package_Type_Id,
    Binder_Id,
    Package_Name,
    Package_Status_Type_Id,
    Package_Approval_SeqNo,
    Package_Current_Issue
    FROM openxml(@hDoc,'/ROOT/Package[@Package_Status="U"]')
    With Package
    OPEN xml_cursor
    FETCH NEXT FROM xml_cursor INTO
    @Package_Tbl_Id,
    @Package_Type_Id,
    @Binder_Id,
    @Package_Name,
    @Package_Status_Type_Id,
    @Package_Approval_SeqNo,
    @Package_Current_Issue
    WHILE @@fetch_status = 0
    BEGIN
    Update Package
    SET
    Package_Type_Id = @Package_Type_Id,
    Binder_Id = @Binder_Id,
    Package_Name = @Package_Name,
    Package_Status_Type_Id = @Package_Status_Type_Id,
    Package_Approval_SeqNo = @Package_Approval_SeqNo,
    Package_Current_Issue = @Package_Current_Issue
    WHERE Package_tbl_Id = @Package_tbl_Id
    FETCH NEXT FROM xml_cursor INTO
    @Package_Tbl_Id,
    @Package_Type_Id,
    @Binder_Id,
    @Package_Name,
    @Package_Status_Type_Id,
    @Package_Approval_SeqNo,
    @Package_Current_Issue
    End
    Close xml_cursor
    DEALLOCATE xml_cursor
    EXEC sp_xml_removedocument @hDoc
    exec spx_putattachment @XMLText
    End
    SET QUOTED_IDENTIFIER ON

Maybe you are looking for