Re: preallocating memory used by javaspace
Shay Hassidim <[email protected]> Wed, 30 Aug 2006 19:22:47 +0200
| Newsgroups | gmane.comp.java.sun.javaspaces |
|---|---|
| Message-ID | <[email protected]> |
xaea , Take a look on the Cache Policy , Persistent space , CacheLoader , CacheStore , Memory usage , Memory Control and Mirror Service at GigaSpaces. Just search the help with the above: www.gigaspaces.com/wiki shay -----Original Message----- From: Dan Creswell [mailto:[email protected]] Sent: Wednesday, August 30, 2006 3:12 PM To: [email protected] Subject: Re: preallocating memory used by javaspace 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 =========================================================================== 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