jhat: reduce memory by preferring iterator/enumeration instead of arrays

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 6
    • Affects Version/s: 6
    • Component/s: core-svc
    • b61
    • generic
    • generic

      There are few methods of HAT model classes that create and use arrays. HAT is a memory intensive application and so it would be better to reduce memory requirement by replacing array results by Enumerations -- in place iteration of elements would remove array creation. 6326374 (jhat should read primitive array content lazily) addressed part of this by reading primitive array content lazily. Removing array creation while executing various queries would definitely help (particularly with large heap dumps)

            Assignee:
            Sundararajan Athijegannathan
            Reporter:
            Sundararajan Athijegannathan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: