Re: preallocating memory used by javaspace

Dan Creswell <[email protected]> Wed, 30 Aug 2006 14:12:20 +0100
Newsgroups gmane.comp.java.sun.javaspaces
Message-ID <[email protected]>
Gregg Wonderly wrote:
> xaea alvein wrote:
>> no, it's preallocate. i'm considering setting a "quota"/"capacity" for
>> the
>> space, so that the memory taken by it won't exceed some x MB. is it
>> possible?
>
> What will you expect the application to do when this limit is reached
> because of
> an imbalance between producers and consumers?
>

Gregg is heading along the right lines so more generally:

When this quota is reached what would you wish to happen?

Should the space stop accepting more entry's?

Should the space swap to disk?

Should the space signal the application in some way?

Should the application do something to manage this situation itself
perhaps by adopting quota's within it's own code?  If not, why not?

What do you expect to happen to throughput in these circumstances?


Dan.

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JAVASPACES-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

To view past JAVASPACES-USERS postings, please see:
http://archives.java.sun.com/archives/javaspaces-users.html