
|
If you were logged in you would be able to see more operations.
|
|
|
|
File Attachments:
|
|
|
Image Attachments:
|
|
|
Environment:
|
Windows Vista, JDK 1.4.2_13
Solaris 10, Sun JDK 1.4.2, 1.5.0 & 1.6.0
Red Hat Enterprise Linux 4 (2.6.9-34.ELsmp_64), Sun JDK 1.5.0 & 1.6.0
Windows Vista, JDK 1.4.2_13
Solaris 10, Sun JDK 1.4.2, 1.5.0 & 1.6.0
Red Hat Enterprise Linux 4 (2.6.9-34.ELsmp_64), Sun JDK 1.5.0 & 1.6.0
|
|
Issue Links:
|
Reference
|
|
|
|
This issue is related to:
|
|
DERBY-1947
OutOfMemoryError after repeated calls to boot and shutdown a database
|
|
|
|
|
|
|
| Resolution Date: |
18/Apr/07 09:16 PM
|
Repeated calls to java.sql.DriverManager.getConnection("jdbc:derby:C:\\DOES_NOT_EXIST") leak memory and eventually lead to an OutOfMemoryError.
This bug is similar to DERBY-1947 in that ContextManager objects are not getting removed from the HashSet. The attached test program demonstrates the issue. When run with VM options -Xms8m -Xmx8m, it throws an OutOfMemoryError after 19022 calls to DriverManager.getConnection.
|
|
Description
|
Repeated calls to java.sql.DriverManager.getConnection("jdbc:derby:C:\\DOES_NOT_EXIST") leak memory and eventually lead to an OutOfMemoryError.
This bug is similar to DERBY-1947 in that ContextManager objects are not getting removed from the HashSet. The attached test program demonstrates the issue. When run with VM options -Xms8m -Xmx8m, it throws an OutOfMemoryError after 19022 calls to DriverManager.getConnection.
|
Show » |
| No work has yet been logged on this issue.
|
|