|
From: Mohit A. <moh...@gm...> - 2013-11-07 17:30:03
|
I don't see any exceptions. All I see is that .parseFile returned false.
On Wed, Nov 6, 2013 at 11:28 PM, <jz...@xi...> wrote:
> what is the error message?
>
>
>
> ----- Original Message -----
> From:
> Mohit Anchlia <moh...@gm...>
>
> To:
> <vtd...@li...>
> Cc:
>
> Sent:
> Wed, 6 Nov 2013 17:12:15 -0800
> Subject:
> [Vtd-xml-users] Question about vtdHuge
>
>
>
> I have a huge file and I am currently developing this on windows and
> testing on windows. But it looks like the VTDHuge is not working with
> windows even though I am using 64 bit JVM
>
> VTDGenHuge vgh = new VTDGenHuge();
> VTDNavHuge vn = null;
> public WikiDocIterator(String fname) {
> if (vgh.parseFile(fname, true, VTDGenHuge.MEM_MAPPED)) {
> vn = vgh.getNav();
> log.error("Wiki Iterator initialized");
> } else {
> log.error("Wiki Iterator not initizlied");
> }
> }
>
> When I switch to just VTDNav it works fine. As far as I know MEM_MAPPED
> can successfully can be used in Linux. But I don't see that in VTD docs.
> Could somebody help me understand why I might not be able ot succesfully
> parse using the above code?
>
> My real execution environment is linux but I still need to develop and
> test on windows.
>
>
|