harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolay Kuznetsov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-1761) [DRLVM]Memory leak in thread creation
Date Fri, 06 Oct 2006 15:30:20 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1761?page=all ]

Nikolay Kuznetsov updated HARMONY-1761:

    Attachment: Test.java

Attached example demonstrates the problem; it creates threads which sleep for a millisecond
and then exit. After approx 200000 thread creation VM crashes with 2GB memory consumed.

> [DRLVM]Memory leak in thread creation
> -------------------------------------
>                 Key: HARMONY-1761
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1761
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Nikolay Kuznetsov
>         Attachments: Test.java
> During every single thread creation we create APR pool to allocate structure containing
parameters for new thread run method. This pool is never being reused or destroyed and costs
8k for every thread being created.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message