maximum input buffer length exceeded: 1048576

Discussion in 'Perl Misc' started by Raquel Marques, Sep 5, 2003.

  1. Hello, when I run a script in perl, it returns the above message.
    Any ideas how can I solve this problem .

    Thanks

    Raquel Marques
     
    Raquel Marques, Sep 5, 2003
    #1
    1. Advertising

  2. Raquel Marques

    Vlad Tepes Guest

    Raquel Marques <> wrote:

    >
    > Hello, when I run a script in perl, it returns the above message.
    > Any ideas how can I solve this problem .


    http://www.google.com/search?q=maximum buffer perl 1048576

    First hit has the answer: You probably have trouble with newlines.
    Perl reads line by line, and has encountered a line that is over 1 MB.

    Things you can try: (1) Convert the file to proper lineendings (this
    depends on your platform), (2) read in smaller chunks of the file with
    read(), or (3) alter the input record separator ( $/, see perldoc
    perlvar ).

    --
    Vlad
     
    Vlad Tepes, Sep 5, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jacky Kwok
    Replies:
    2
    Views:
    3,646
    Mark1969
    Jun 24, 2005
  2. =?Utf-8?B?Y21heQ==?=
    Replies:
    8
    Views:
    32,360
    SilentSojourner
    Apr 2, 2012
  3. Chris Hayes
    Replies:
    8
    Views:
    9,518
    DDaanV
    Oct 21, 2010
  4. Chris Hayes
    Replies:
    0
    Views:
    691
    Chris Hayes
    Jul 27, 2005
  5. Lloyd Dupont

    Maximum request length exceeded.

    Lloyd Dupont, Jan 19, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    22,375
    justin_yj
    Oct 29, 2010
Loading...

Share This Page