|
From: Mohit A. <moh...@gm...> - 2013-11-12 00:21:19
|
All I am doing is calling vtdHuge on windows 7. It just returns false. If
there is a way to get more information by enabling some option I can do
that too.
if (vghparseFile(fname, true, VTDGenHuge.MEM_MAPPED)) {
On Mon, Nov 11, 2013 at 4:15 PM, <jz...@xi...> wrote:
> It would be hard for me to provide u more info, can you create a test case
> and send it to me?
>
>
>
> ----- Original Message -----
> From:
> Mohit Anchlia <moh...@gm...>
>
> To:
> <jz...@xi...>
> Cc:
> <vtd...@li...>
> Sent:
> Thu, 7 Nov 2013 09:29:55 -0800
> Subject:
> Re: [Vtd-xml-users] Question about vtdHuge
>
>
>
> 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 (vghparseFile(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.
>>
>>
>
|