1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2013
    Rep Power

    Exporting huge data to excel sheet

    Hi all

    M working on a huge application where i need to export around 80000 records to excel sheet. but for 7000 records its working fine but when the data exceeds 7000 it shows the following error:-

    The data area passed to a system call is too small.

    i increased the max memory limit and max execution time also. but its showing the same error msg. any solutions for that...?

    Thanks in adv
  2. #2
  3. Contributing User
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2006
    Rep Power
    Not that I'd have much of a clue, but my first question would be: from what are you exporting the data?
    The moon on the one hand, the dawn on the other:
    The moon is my sister, the dawn is my brother.
    The moon on my left and the dawn on my right.
    My brother, good morning: my sister, good night.
    -- Hilaire Belloc
  4. #3
  5. Sarcky
    Devshed Supreme Being (6500+ posts)

    Join Date
    Oct 2006
    Pennsylvania, USA
    Rep Power
    Also note that the maximum number of records in a single sheet in Excel is 65,535 for most versions of Excel.

    That error message seems specific, did you get anything when you googled it?
    HEY! YOU! Read the New User Guide and Forum Rules

    "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin

    "The greatest tragedy of this changing society is that people who never knew what it was like before will simply assume that this is the way things are supposed to be." -2600 Magazine, Fall 2002

    Think we're being rude? Maybe you asked a bad question or you're a Help Vampire. Trying to argue intelligently? Please read this.

IMN logo majestic logo threadwatch logo seochat tools logo