jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Belisle (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-430) Memory leak when using transactions
Date Wed, 10 May 2006 14:51:05 GMT
    [ http://issues.apache.org/jira/browse/JCR-430?page=comments#action_12378935 ] 

Nicolas Belisle commented on JCR-430:
-------------------------------------

Here, the memory leak does not happen if I comment the transaction code. The program can run
for minutes. It uses around 55-57m. However, with the transaction enabled I get a OutOfMemory
within seconds (>400m). 
TransientRepository is opened only once in the code. I found this problem using RepositoryImpl.
So, I do not think the problem belongs to TransientRepository.


> Memory leak when using transactions
> -----------------------------------
>
>          Key: JCR-430
>          URL: http://issues.apache.org/jira/browse/JCR-430
>      Project: Jackrabbit
>         Type: Bug

>     Versions: 1.0
>     Reporter: Nicolas Belisle
>     Assignee: Tobias Bocanegra
>     Priority: Critical
>  Attachments: TransactionTest.java
>
> Using a sequence of transactions resolve in a java.lang.OutOfMemoryError. 
> I'm using UserTransactionImpl found in /src/test. Could be the cause of the problem...
> An example will follow shortly. Note that in the example, if you remove the transaction
context, no leak arises.

-- 
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


Mime
View raw message