t;To: [EMAIL PROTECTED]
>Subject: Re: StoreJanitor new calculation [was: Re: Store Janitor Hangs
>System]
>
>
>Hi Gerhard,
>
>Great to hear that I've not been wasting my time :-)
>
>Please find attached the updated code.
>
>[EMAIL PROTECTED] wrote:
>
>&
> From: Peter Hargreaves [mailto:[EMAIL PROTECTED]]
> My C2 application is tried and tested ready to be hosted but it needs
too much
> memory - I can't find a service provider that will have me! Most of
them say
> that 64M is more than enough for most people and there must be
something wrong
>
Gerhard Froehlich wrote:
> Hi,
>
>
>*) If the percent to reduce storage is set to 10%, it fails to
>remove any when the number of items are below 10. The number of items
>
> to be
>
>removed needs rounding upwards. Why not remove a fixed number of items
>instead of a perc
Hi,
*) If the percent to reduce storage is set to 10%, it fails to
remove any when the number of items are below 10. The number of items
to be
removed needs rounding upwards. Why not remove a fixed number of items
instead of a percentage? (My idea and now I think it was wrong!!)
>
> From: Peter Hargreaves [mailto:[EMAIL PROTECTED]]
>
> Hi Vadim,
>
> [EMAIL PROTECTED] wrote:
>
> >>From: Peter Hargreaves [mailto:[EMAIL PROTECTED]]
> >>
> >>*) If the percent to reduce storage is set to 10%, it fails to
remove
> >>any when the number of items are below 10. The number of item
Hi Vadim,
[EMAIL PROTECTED] wrote:
> Beware: multiple snips inside...
>
>
>>From: Peter Hargreaves [mailto:[EMAIL PROTECTED]]
>>
>>*) Calling the gc once every check interval seriously undermines
>>
> system
>
>>performance because it can take several seconds to complete, which is
>>comparabl
Hi Gerhard,
Great to hear that I've not been wasting my time :-)
Please find attached the updated code.
[EMAIL PROTECTED] wrote:
> Peter,
>
>
>>From: Peter Hargreaves [mailto:[EMAIL PROTECTED]]
>>
>>Hi Gerhard,
>>
>>I've tested your latest Store Janitor improvements (using Optimizit and
>>y
Peter,
>From: Peter Hargreaves [mailto:[EMAIL PROTECTED]]
>
>Hi Gerhard,
>
>I've tested your latest Store Janitor improvements (using Optimizit and
>your debug messages) and although its a very great improvement, I've
>found some other problems :-(
Damn...
>As my Optimizit trial was running o
Beware: multiple snips inside...
> From: Peter Hargreaves [mailto:[EMAIL PROTECTED]]
>
> *) Calling the gc once every check interval seriously undermines
system
> performance because it can take several seconds to complete, which is
> comparable to the check interval. Why not call it only when s
Hi Gerhard,
I've tested your latest Store Janitor improvements (using Optimizit and
your debug messages) and although its a very great improvement, I've
found some other problems :-(
As my Optimizit trial was running out I decided to do some urgent work
on the Checker and now have a solution
Sent: Monday, January 28, 2002 9:56 PM
>To: [EMAIL PROTECTED]
>Subject: Can we add Store.size()?, Store Janitor Hangs System
>
>
>People,
>
>What's your opinion on adding size() method to the Store interface?
>Currently method of getting store size by enumerating through all
People,
What's your opinion on adding size() method to the Store interface?
Currently method of getting store size by enumerating through all store
items employed in MRUMemoryStore does not fill me with optimism...
ahem...
Another - related to this - question: What classes are considered
"Cocoo
Hi Team,
I hope I fixed the problem now!
I changed the StoreJanitorImpl, I try to explain in
prosa:
Cocoon reaches 1 million request per second and
memory is getting dangerously low. Time for the
StoreJanitor to kick in and do something. First
he forces the GC. Damn, memory is still low,
we hav
Stefano Mazzocchi wrote:
>
>Be careful when going down this road: the JLS doesn't say anything about
>'how' the weak references should be cleaned. And Java 1.3 implements it
>in the most memory efficient possible way: if the GC gets a weak
>reference, all of them are removed.
>
>Now, imagine th
Hi,
>> Everything no problem *if* the Store interface would have a method like
>> int size(). But it doesn't provide this in the moment. And
we
>> all no how people react, when we change a work interface. But I can
change
>> the implementation of Enumeration keys() and determine so
the
>> size el
Gerhard Froehlich wrote:
> Hi,
> yes, there arn't such things like boring sundays with Cocoon
> (TANSTLBSWC).
>
> >From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
> >
> >> From: Peter Hargreaves [mailto:[EMAIL PROTECTED]]
> >>
> >> Hi Folks,
> >>
> >> Its great to see such enthusiasm - t
Hi,
yes, there arn't such things like boring sundays with Cocoon
(TANSTLBSWC).
>From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
>
>> From: Peter Hargreaves [mailto:[EMAIL PROTECTED]]
>>
>> Hi Folks,
>>
>> Its great to see such enthusiasm - thanks for listening. Just got a
>> coupe of comments
> From: Peter Hargreaves [mailto:[EMAIL PROTECTED]]
>
> Hi Folks,
>
> Its great to see such enthusiasm - thanks for listening. Just got a
> coupe of comments and a simple idea that might help towards the
solution
> - if you scroll down.
>
> Gerhard Froehlich wrote:
> > Maybe I did something
Hi Folks,
Its great to see such enthusiasm - thanks for listening. Just got a
coupe of comments and a simple idea that might help towards the solution
- if you scroll down.
Gerhard Froehlich wrote:
> Hi,
>
> >From: Stefano Mazzocchi [mailto:[EMAIL PROTECTED]]
> >
> >Gerhard Froehlich wr
of a young boy, in a jar, on my desk.
(Stephen King)"
>-Original Message-
>From: Peter Hargreaves [mailto:[EMAIL PROTECTED]]
>Sent: Saturday, January 26, 2002 5:51 PM
>To: [EMAIL PROTECTED]
>Subject: RE: Store Janitor Hangs System
>
>
>Hi Gerhard,
>
>
Hi Gerhard,
I'm posting this separately under the same heading because it's probably
less relevant.
While analysing the store-janitor code I found some strange things in
the way Store-janitorImpl.freeMemory() increments the store index.
I assume that each successive call to freeMemory() is in
>From: Gerhard Froehlich [mailto:[EMAIL PROTECTED]]
>Sent: Sunday, January 27, 2002 2:30 PM
>To: [EMAIL PROTECTED]
>Subject: RE: Store Janitor Hangs System
>
>
>Hi,
>
>>From: Stefano Mazzocchi [mailto:[EMAIL PROTECTED]]
>>
>>Gerhard Froehlich wrote:
Hi,
>From: Stefano Mazzocchi [mailto:[EMAIL PROTECTED]]
>
>Gerhard Froehlich wrote:
>>
>> Hi,
>>
>> >From: Peter Hargreaves [mailto:[EMAIL PROTECTED]]
>> >
>> >Hi Gerhard and Team,
>> >
>> >I'm posting in this group now I think I found a design problem with
>> >store-janitor.
>>
>> Slowly but
Gerhard Froehlich wrote:
>
> Hi,
>
> >From: Peter Hargreaves [mailto:[EMAIL PROTECTED]]
> >
> >Hi Gerhard and Team,
> >
> >I'm posting in this group now I think I found a design problem with
> >store-janitor.
>
> Slowly but constant this Store issues are a PITA for me :-/. I don't know
> why th
Hi,
>From: Peter Hargreaves [mailto:[EMAIL PROTECTED]]
>
>Hi Gerhard and Team,
>
>I'm posting in this group now I think I found a design problem with
>store-janitor.
Slowly but constant this Store issues are a PITA for me :-/. I don't know
why this is in Java that difficult to control a little
Hi Gerhard and Team,
I'm posting in this group now I think I found a design problem with
store-janitor.
I think store-janitor works fine when it can free sufficient memory by
calling the finalize and garbage collection. But if it needs to free the
store it locks up!
The reason it appears to
26 matches
Mail list logo