LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  Error while importing text file

    Employee
    Posted 10-10-2013 08:06

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: zon

    I'm trying to import a file, but it turns out error

    "heap allocation failed: pchData
    heap allocation failed: pchData"; File: "..\..\..\..\include\jigsaw\Buffer.h"; Line: 160; Context: ""

    The file has lines like this:
    ++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++
    "99999999";"Richard Evan";"C999999999";"CLIENTE";"RESIDENCIAL";"ACTIVO ";"Richard Evan";"S999999999";"ACTIVO";"SERVI�O";"NORMAL"
    ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++

    Can you help me understand what this error means?

    Regards,
    ZON


  • 2.  RE: Error while importing text file

    Employee
    Posted 10-10-2013 13:19

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: johnpelz

    Hi there,

    What node are you using here? Does the file have a header? I mocked up an example, assuming no header and used the "FieldNames" parameter on the delimited node to control the expected metadata of the file. The ++++++++++++ lines are most likely the culprit here but you can get around those with the attached example

    If you can provide a few more details, we can assist further but the attached example may help on its own.

    Thanks
    Attachments:
    delimited_example.brg
    test.txt


  • 3.  RE: Error while importing text file

    Employee
    Posted 10-11-2013 07:50

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: zon

    Delimited node.
    It has no heards, i'm using the Field Names paremeter.
    The ++++++++++++++++++++ are not part of the file, it was me separating the text from the sample.
    The file has about 6M records.

    Thanks