Re: Outrigger memory leak?

Dan Creswell <[email protected]> Wed, 3 Jan 2007 19:01:07 +0000
Newsgroups gmane.comp.java.sun.javaspaces
Message-ID <[email protected]>
Gregg Wonderly wrote:
> Greg Trasuk wrote:
>>         Am I missing something in the configuration?  The problem is
>> independent of whether Outrigger is run under Harvester or from the
>> Launch-All script in the starter kit.  I haven't found any other bug
>> reports, and I find it hard to believe I've found a bug in a mature
>> product.  Any suggestions?
>
> Can you try the same application with Blitz to see if there is any
> difference?
> I'd guess that you are not using enough heap.  Are you configuring
> -mx512m on
> the command line, or how are you starting the JVM that you think has a
> 512M heap?
>

Well, I was thinking about that tactic myself but you'd need to setup
Blitz's cache sizes and stuff to make sure it all fits into available
memory.

Otherwise you could see what looks like a leak but is just being
provoked by mis-configuration.

I can help out with that but:

"the Outrigger instance runs out of heap after
about 2100 iterations with a payload size of 250e3 bytes."

I wasn't sure if that is a size in hex or a typo?????

It could be heap but I'm not clear why as a quick look at the code
suggests there's not a huge number of entry's lying around in the space
at any moment.  Unless of course we've got some backlog of entry's
forming somehow which I didn't think was likely for this case.

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