JDK-4195986 : GridBagLayout - inefficient use of memory
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.2.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_nt
  • CPU: x86
  • Submitted: 1998-12-09
  • Updated: 1999-12-23
  • Resolved: 1999-12-23
Related Reports
Duplicate :  
Description

Name: krT82822			Date: 12/08/98


Each GridBagLayout in our application accounts for 120K of memory.

Each GridBagLayout is instantiating 10 or 11 instances of GridBagLayoutInfo.  Each GridBagLayoutInfo creates two arrays of int's and
two arrays of doubles.  Each array is 512 elements long.

Clearly, the memory usage here is excessively high.
(Review ID: 40052)
======================================================================

Comments
WORK AROUND Name: krT82822 Date: 12/08/98 None ======================================================================
11-06-2004