Menu

Program overload when multiple objectlistview objects are created in the same program.

2018-01-04
2018-01-09
  • Jesus Ramos

    Jesus Ramos - 2018-01-04

    There are general slowdowns in the program when more than 4 objects of the ObjectListView have been created, although the corresponding dispose is performed on each of them.
    We believe that the cleaning of the object is not done correctly and completely.
    Any ideas about it?
    Has anyone had the same problem?

     
  • Phillip Piper

    Phillip Piper - 2018-01-06

    A couple of things for you to check:

    1. Call Reset() on the OLV's to guarantee all internal state is cleared before disposing.
    2. Make sure that you have unhooked all your custom event handlers from the control (this is the one that most people miss)

    Regards,
    Phillip

     
  • Jesus Ramos

    Jesus Ramos - 2018-01-09

    Thanks Phillip:
    We are applying the solution you have given us and the problem has disappeared.
    We are doing recurrence tests and massive launches (up to 300 instances) and we expect good results.
    Thank you very much for your answer. It has been very helpful.

     

Log in to post a comment.