Why Tally hangs?

Discussion in 'Tally Developer' started by Sundar, Nov 26, 2013.

    
  1. Sundar

    Sundar Member


    Dear Experts

    I've customized a report. When I try to generate the report for short period (approximately voucher entries in 1000 s) it works fine. But if I try to generate for a long period (approximately voucher entries in 10000 s), Tally just hangs and shows "Not Responding" finally shows the error message "Out of memory" & quits.

    But when we take Tally default reports for long period for example Daybook which contains vouchers more than 10000 s, I didn't find such problems.

    I hope many of you people wound have encountered such problems with Customized Reports. If you could share the solutions related to the above issue would be a great help for me.


    Thanks in Advance

    Sundar
     


  2. N vinoth

    N vinoth Guest


    this problem i am also getting pls kindly help somebody...................................
     


  3. Taufeeq Shaikh

    Taufeeq Shaikh Active Member


    Dear Sundar,

    There is one syntax in TDL for Quick Search. Am not well known about it but you should try that to achieve the required report so that it directly fetch the required data without any Hang Up. Am just giving the opinion.
     


  4. Pilla Kishore Kumar

    Pilla Kishore Kumar New Member


    Dear Sundar,

    It is quite natural when the data size is big. There are two things to be considered.

    1. Try to minimize collections or loops in your program and try to reduce the code. Try to use default definitions of Tally if possible.
    2. When you get the message "Out of memory" it is suggested that either you increase your RAM or go to 64 bit Tally, because on 32 bit Tally cannot take more than 2 GB of RAM, though you may have free RAM on your system. For a better idea, go to task manager and observe how much of RAM, Tally consumes while generating this report. It will definitely solves your problem.

    All the best.
     


  5. admin

    admin Administrator Staff Member


    This is purely related to your coding ie., What data your pulling from which objects... You can use TDL profiling to check where Tally is consuming most of the time for which Function or Collection or Filter.

    This will help you.
     


Share This Page