Re: [basex-talk] archive:create - Out Of Main Memory

2019-05-29 Thread Han (US), Paul P
[mailto:christian.gr...@gmail.com] Sent: Monday, May 27, 2019 10:25 AM To: Han (US), Paul P Cc: BaseX Subject: Re: [basex-talk] archive:create - Out Of Main Memory Hi Paul, In the current version of BaseX, new archives cannot be streamed to files. I think we could propagate the file output stream to

Re: [basex-talk] archive:create - Out Of Main Memory

2019-05-27 Thread Christian Grün
Hi Paul, In the current version of BaseX, new archives cannot be streamed to files. I think we could propagate the file output stream to archive:create and other functions. This could potentially be financed as sponsored feature. Does Boeing support open source projects? Best, Christian Han

[basex-talk] archive:create - Out Of Main Memory

2019-05-24 Thread Han (US), Paul P
Hello, We encountered Out Of Main Memory when trying to create archive of a 4GB XML file. I'm using version BaseX922.war. We allocated 20GB with -Xmx flag for tomcat. Please let me know if there is a way to overcome this issue. let $files := file:list('/tmp', false(), '4gb.xml')

Re: [basex-talk] archive:create

2018-08-17 Thread Ветошкин Владимир
Christian, thank you very much!It works! :) 17.08.2018, 17:58, "Christian Grün" :Try serialize($doc) instead of $doc. Ветошкин Владимир schrieb am Fr., 17. Aug. 2018, 16:55:Hi! I want to write xml-data to zip-archive. I try something like this:                 let $db := db:op

Re: [basex-talk] archive:create

2018-08-17 Thread Christian Grün
Try serialize($doc) instead of $doc. Ветошкин Владимир schrieb am Fr., 17. Aug. 2018, 16:55: > Hi! > > I want to write xml-data to zip-archive. > > I try something like this: > > let $db := db:open('test') > let $doc := > $db/doc[id='cb818e0d-7d49-4f78-8424-49e06

[basex-talk] archive:create

2018-08-17 Thread Ветошкин Владимир
Hi! I want to write xml-data to zip-archive. I try something like this:                 let $db := db:open('test')                let $doc := $db/doc[id='cb818e0d-7d49-4f78-8424-49e063d3efdf']                let $zip := archive:create(file.txt, $doc)                return file:write-binary('test.zi