Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4034817

Too many dialogs cause out of memory errors.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.0.2, 1.1
    • client-libs
    • None
    • unknown, x86
    • windows_95

      Name: mc57594 Date: 02/26/97

      I have a program which keeps track of a list of clients. The
      program creates a new dialog box for each client when I want
      that client's information to be edited. The problem is that
      after ten or eleven clients, the program or the entire computer,
      crashes due to being out of memory (and I have 32megs of RAM).
      The dialog variable is maintained in each client object, but even
      when I set it to null after its hidden and even after I make it
      static, I still run out of memory. I suspect that the UI which
      is created each time the dialog is shown, still occupies memory
      even after the method they were created in ends or I set it to
      null. This may not be a correct conclusion, but something is
      not working with the garbage collection.

      ======================================================================

            Unassigned Unassigned
            mchamnessunw Mark Chamness (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: