|
From: | jeroen at frijters dot net |
Subject: | [Bug classpath/30977] New: Memory leak in java.text.DecimalFormat |
Date: | 27 Feb 2007 10:40:48 -0000 |
There's a memory leak in java.text.DecimalFormat. Everytime you call format the attributes ArrayList is grown. Here's repro test case: import java.text.*; class Leak { public static void main(String[] args) { DecimalFormat d = new DecimalFormat("#.0000"); for (;;) d.format(0.0); } } -- Summary: Memory leak in java.text.DecimalFormat Product: classpath Version: 0.93 Status: UNCONFIRMED Severity: normal Priority: P3 Component: classpath AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jeroen at frijters dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30977
[Prev in Thread] | Current Thread | [Next in Thread] |