|
Quick Lists
|
|
Bug ID:
|
6520101
|
|
Votes
|
0
|
|
Synopsis
|
FileChooser will cause OutOfMemory when application will run long time
|
|
Category
|
java:classes_swing
|
|
Reported Against
|
|
|
Release Fixed
|
1.4.2_18(b05),
5.0u14(b01) (Bug ID:2149665)
, 6u4(b01) (Bug ID:2149776)
, 1.4.2_17-rev(b10) (Bug ID:2160989)
|
|
State
|
10-Fix Delivered,
bug
|
|
Priority:
|
3-Medium
|
|
Related Bugs
|
6396844
,
6575032
|
|
Submit Date
|
01-FEB-2007
|
|
Description
|
FileChooseDemo will cause OutOfMemory in long run
CONFIGURATION :
JRE :1.4.2_13
OS : WindowsXP(SP2, japanese)
REPRODUCE :
1) Invoke the following command
java -showversion -Xmx8m -verbose:gc -jar FileChooserDemo.jar
2) Click "ShowFileChooser"
3) click "cancel" in file chooser dialogue.
4) click "O.K" on message dialogue
5) select L&F type by clicking "metal", "motif" or "Windows" radio button.
Repeat the step 5)
NOTE :
The heap size is very small, 8m. This is set just to reproduce quickly.
Real application of customer has bigger heap size. So, it takes long time to reproduce.
Posted Date : 2007-02-01 01:41:14.0
|
|
Work Around
|
N/A
|
|
Evaluation
|
I have tried to evaluate this issue and found that this happens with Motif LNF. I have tested with Metal and Windows LNF and it the testacase doesn't throw OOM with Metal and Windows LNF. This happens only with Motif LNF. I am attaching (bug6520101.java) a more simple testcase to reproduce this issue. Please follow these steps to reproduce this issue.
I have tried to debug the issue and found that MotifFileChooserUI is leaking memory.
The heap histogram clearly shows that MotifFileChooserUI is leaking memory.
Posted Date : 2007-03-27 15:53:59.0
Fixed via 1.4.2_17-rev-b10.
Posted Date : 2008-04-03 19:44:35.0
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |