[CDO] server memory leak [message #102438] |
Mon, 12 November 2007 14:11  |
Eclipse User |
|
|
|
Eike,
Having great success now....
However, I left the server and one client running over the weekend and
when I came in this morning the server had thrown an out of memory error
and I had to restart. Just wanted you to know.
Mark.
|
|
|
Re: [CDO] server memory leak [message #102488 is a reply to message #102438] |
Tue, 13 November 2007 02:19  |
Eclipse User |
|
|
|
Originally posted by: stepper.sympedia.de
Mark Geib schrieb:
> Eike,
>
> Having great success now....
So far so good ;-)
> However, I left the server and one client running over the weekend and
> when I came in this morning the server had thrown an out of memory
> error and I had to restart. Just wanted you to know.
Can you please open a bug so we can trace this issue? Please describe
briefly in the Bugzilla what your client has been doing during that time.
The biggest memory eater in the server is the RevisionManager. In the
coarse of https://bugs.eclipse.org/bugs/show_bug.cgi?id=203538 I have
reimplemented the revision cache to have a fixed size that can be
configured via cdo-server.xml. May be you have to adjust the cache sizes
for revisions and for historical revisions. Of course the leak can also
be at another place.
BTW. did you know that the following two things are impossible in Java:
1) Determine the overall size of free memory that is still available
2) Implement a memory sensitive cache with a configurable eviction policy
Both issues are discussed in the above Bugzilla.
Regards,
Eike Stepper
----
http://wiki.eclipse.org/?title=CDO
http://wiki.eclipse.org/?title=Net4j
|
|
|
Re: [CDO] server memory leak [message #612490 is a reply to message #102438] |
Tue, 13 November 2007 02:19  |
Eclipse User |
|
|
|
Mark Geib schrieb:
> Eike,
>
> Having great success now....
So far so good ;-)
> However, I left the server and one client running over the weekend and
> when I came in this morning the server had thrown an out of memory
> error and I had to restart. Just wanted you to know.
Can you please open a bug so we can trace this issue? Please describe
briefly in the Bugzilla what your client has been doing during that time.
The biggest memory eater in the server is the RevisionManager. In the
coarse of https://bugs.eclipse.org/bugs/show_bug.cgi?id=203538 I have
reimplemented the revision cache to have a fixed size that can be
configured via cdo-server.xml. May be you have to adjust the cache sizes
for revisions and for historical revisions. Of course the leak can also
be at another place.
BTW. did you know that the following two things are impossible in Java:
1) Determine the overall size of free memory that is still available
2) Implement a memory sensitive cache with a configurable eviction policy
Both issues are discussed in the above Bugzilla.
Regards,
Eike Stepper
----
http://wiki.eclipse.org/?title=CDO
http://wiki.eclipse.org/?title=Net4j
|
|
|
Powered by
FUDForum. Page generated in 0.05689 seconds