-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.1.6
-
generic
-
generic
Calling Component.setFont() leaks memory. The simple test case attached, which calls this method on one component about three times a second, demonstates this behavior. This testcase running for 22 hours increased the VM's process space to 519Megs (Solaris 2.5.1) before the VM eventually ran out of memory and dumped core. The following is the msg it spit out before it died--core file was not complete due to lack of disk space.
java.lang.NullPointerException
at java.awt.Component.setFont(Component.java:634)
at AutoThread.run(FontTest.java:159)
SIGBUS 10* bus error
si_signo [10]: SIGBUS 10* bus error
si_errno [12]: Not enough space
si_code [3]: BUS_OBJERR [addr: 0xeecc2000]
stackbase=EECE2000, stackpointer=EECE01D0
java.lang.NullPointerException
at java.awt.Component.setFont(Component.java:634)
at AutoThread.run(FontTest.java:159)
SIGBUS 10* bus error
si_signo [10]: SIGBUS 10* bus error
si_errno [12]: Not enough space
si_code [3]: BUS_OBJERR [addr: 0xeecc2000]
stackbase=EECE2000, stackpointer=EECE01D0
- duplicates
-
JDK-4068618 Motif FontPeer needs to be disposed to prevent memory leak
- Resolved