ZipFile doesnt deallocate memory even when an exception has occured.A simple Testcase is attached . This problem is not seen with jdk1.4.1 beta.
Run as java TestJdk
use pmap to see the memory allocated for the class file(fortuneServlet.class) .
Description:
iMM application which is running on sunone appserver 7.0 uses getcipher() api for data encryption/decryption .This api internally passes a class file to ZipFile api(The class file passed is the one which is using getCipher api. ) , ZipFile throws an exception but does not deallocate memory allocated to the class file .
Contact me(###@###.###) if more info is needed .
Wed Jun 26 03:55:48 MDT 2002 vk112360
Run as java TestJdk
use pmap to see the memory allocated for the class file(fortuneServlet.class) .
Description:
iMM application which is running on sunone appserver 7.0 uses getcipher() api for data encryption/decryption .This api internally passes a class file to ZipFile api(The class file passed is the one which is using getCipher api. ) , ZipFile throws an exception but does not deallocate memory allocated to the class file .
Contact me(###@###.###) if more info is needed .
Wed Jun 26 03:55:48 MDT 2002 vk112360
- relates to
-
JDK-4475540 GZipOutputStream leaks native memory
- Closed