Memory used by CAS
Scott Battaglia
scott.battaglia at gmail.com
Mon Oct 1 15:08:55 EDT 2007
I believe Java decides when to actually free the memory based on when it
needs to, not when there's objects that can be freed. I used to have some
good documentation on when Java's garbage collection runs. Does anyone have
any good pointers to explanations on how Java's garbage collection runs?
-Scott
On 10/1/07, Dominika Tkaczyk <d.tkaczyk at uw.edu.pl> wrote:
>
> Scott Battaglia napisał(a):
>
> > Are you actually seeing out of memory exceptions or are you just worried
> > that free memory goes low? If the memory goes low and then is garbage
> > collected that is fine.
> >
> > Otherwise, I would see what those Hashmap entries are holding on to. My
> > guess would be tickets. You could always shorten the ticket expiration
> time
> > and run the cleaner more frequently.
>
> Hi Scott,
> sorry for the delay of my answer.
>
> So far, there were no memory exceptions. I am worried, because I thought
> that garbage collector should clean the memory periodically, and not when
> the free memory is very low. Maybe there is a way to tell it to do so?
>
> Anyway, I admit: maybe I am just being too careful with this.
>
> Regards,
> Dominika
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
--
-Scott Battaglia
LinkedIn: http://www.linkedin.com/in/scottbattaglia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20071001/b636e2dd/attachment.html
More information about the cas
mailing list