incubator-jena-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Damian Steer (JIRA)" <>
Subject [jira] [Closed] (JENA-101) Memory leak in Fuseki
Date Tue, 16 Aug 2011 11:22:27 GMT


Damian Steer closed JENA-101.

> Memory leak in Fuseki
> ---------------------
>                 Key: JENA-101
>                 URL:
>             Project: Jena
>          Issue Type: Bug
>          Components: Fuseki
>            Reporter: Damian Steer
>              Labels: fuseki, memory_leak
> Steps to reproduce:
> 1. Start fuseki in memory mode with updates enabled.
> 2. Repeatedly PUT an N-Triple or turtle file to the same graph.
> 3. Attach VisualVM.
> 4. Memory use slowly grows and is not all collected.
> Explanation:
> The parser uses the sink SinkTriplesToGraph, which registers itself with the global RIOT
event manager. The sink is never closed by fuseki, and so is never unregistered, which means
the sink remains reachable. The sink also has a reference to the graph, so each added graph
remains forever.
> Closing the sink seems to fix the issue. Not clear if this is especially a memory mode

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message