CacheManager (Memory Management in Jackrabbit)

2006-11-02 Thread Thomas Mueller
Hi, Just recently I experienced an out of memory problem with Jackrabbit. I analyzed the memory usage and found the problem is the combined size of the various caches of Jackrabbit, and other libraries (Lucene, the database, and others). The biggest problem was the combined size of the

Re: CacheManager (Memory Management in Jackrabbit)

2006-11-02 Thread Stefan Guggisberg
On 11/2/06, Thomas Mueller [EMAIL PROTECTED] wrote: Hi, Just recently I experienced an out of memory problem with Jackrabbit. I analyzed the memory usage and found the problem is the combined size of the various caches of Jackrabbit, and other libraries (Lucene, the database, and others). The

Re: CacheManager (Memory Management in Jackrabbit)

2006-11-02 Thread Tobias Bocanegra
good idea. +1 On 11/2/06, Thomas Mueller [EMAIL PROTECTED] wrote: Hi, Just recently I experienced an out of memory problem with Jackrabbit. I analyzed the memory usage and found the problem is the combined size of the various caches of Jackrabbit, and other libraries (Lucene, the database,

Re: SPI: ValueFactory vs Level-1 implementations (part 2)

2006-11-02 Thread Julian Reschke
Angela Schreiber schrieb: hi julian why do you think the ValueFactory comes from the SessionInfo? Because I was confused :-) (and had been looking at JCR's Session interface immediately before). as far as i know, the ValueFactory is retrieved from the configuration. so, perhaps you simply

Re: Searching linked files

2006-11-02 Thread Marcel Reutegger
Jaka Jaksic wrote: //element(*, nt:linkedFile)[jcr:contains(@jcr:content, 'search string')] the jcr:content property on nt:linkedFile is a reference property and matching the uuid against 'search string' will of course never match. //element(*,

Re: SPI: ValueFactory vs Level-1 implementations (part 2)

2006-11-02 Thread Julian Reschke
Angela Schreiber schrieb: ... btw: there is a simple ValueFactory in the jackrabbit-commons package. you may use this one or provide your own. BTW: That ValueFactory unfortunately isn't as generic as I would like: it enforces Reference properties to use UUID syntax, which of course isn't

Re: SPI: ValueFactory vs Level-1 implementations (part 2)

2006-11-02 Thread Angela Schreiber
hi julian that was exactly the reason for not 'hardcoding' the ValueFactoryImpl as it is the case in jackrabbit. if you look at the spi2dav project you will find a slightly modified ValueFactoryImpl, that deals with exactly this issue. however i would argue, that it depends on the spi

Re: SPI: ValueFactory vs Level-1 implementations (part 2)

2006-11-02 Thread Julian Reschke
Angela Schreiber schrieb: hi julian that was exactly the reason for not 'hardcoding' the ValueFactoryImpl as it is the case in jackrabbit. if you look at the spi2dav project you will find a slightly modified ValueFactoryImpl, that deals with exactly this issue. however i would argue, that it

SPI: JIRA components

2006-11-02 Thread Julian Reschke
Hi, I noticed that we don't have JIRA components for SPI yet. Shouldn't we create those, or do we want to rely on the mailing list? Best regards, Julian

SPI: NPE in QValue.create

2006-11-02 Thread Julian Reschke
Hi, I'm getting an NPE inside jcr2spi if my QPropertyDefinition returns null upon getDefaultValues(). Looking at the JCR API for PropertyDefinition, it seems to me that null and empty arrays have different semantics, so SPI should support both... Best regards, Julian ===

Re: SPI: JIRA components

2006-11-02 Thread Jukka Zitting
Hi, On 11/2/06, Julian Reschke [EMAIL PROTECTED] wrote: I noticed that we don't have JIRA components for SPI yet. Shouldn't we create those, or do we want to rely on the mailing list? I would suggest using Jira, at least for specific bug reports and improvement/feature requests. I just

[jira] Commented: (JCR-550) ObservationManagerFactory) -

2006-11-02 Thread Jukka Zitting (JIRA)
OutOfMemoryError when re-indexing the repository In-Reply-To: [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit [ http://issues.apache.org/jira/browse/JCR-550?page=comments#action_12446831 ] Jukka Zitting commented on

[jira] Commented: (JCR-550) ObservationManagerFactory) -

2006-11-02 Thread Marcel Reutegger (JIRA)
OutOfMemoryError when re-indexing the repository In-Reply-To: [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit [ http://issues.apache.org/jira/browse/JCR-550?page=comments#action_12446843 ] Marcel Reutegger commented on